httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: [?PATCH?] using getpwnam_r in mod_userdir
Date Fri, 10 Nov 2000 20:48:57 GMT
> >
> > Argh.  :-(  The general rule that we used in APR was that if
> > _POSIX_THREAD_SAFE_FUNCTIONS is defined, then we can use the _r
> > functions.  The problem is that with the patch below, the code is broken
> > when using threaded httpd on FreeBSD.  How does 3.4 provide a thread-safe
> > version of getpwnam?
> 
>     This is FreeBSD land where POSIX does not matter. =)
> 
>     Wes Peters wrote 1.5 years ago[1] that he might implement
>     getpwnam_r and related functions, but I don't see them in
>     the -current tree.

Well that's bogus.  Does that mean that FreeBSD doesn't do threadsafe
getpwnam?  I have no good answer for this.  I guess we check if getpwnam_r
is available, but this is just wrong.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message