apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Foad <julianf...@btopenworld.com>
Subject Re: [PATCH] unused code in user/netware/userinfo.c
Date Tue, 23 Nov 2004 22:22:17 GMT
Brad Nicholes wrote:
>    You are right, it is dead code for now.  The reason why it is there
> is because this file is just a stub rip-off of the Unix implementation. 
> It is just waiting for the day when the NetWare OS supports UID/GID for
> running applications and services.  On the NetWare OS applications and
> services don't run as a user, they just run.  Therefore the underlying
> APIs like getuid(), getgid() and getpwnam() don't exist on NetWare. 
> Even if they did, they wouldn't return anything useful.  So for now,
> this is just a stub implementation.

You seem to be implying that there is a reason for this code to exist: that 
Netware is likely to gain UID/GID support in the forseeable future and that 
this code will be useful when it does, and that having the code already there 
will be considerably more useful than a programmer having to write it again or 
copy it from the Unix implementation.  Is all of that correct?

- Julian

Mime
View raw message