httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sascha Schumann <sas...@schumann.cx>
Subject Re: [?PATCH?] using getpwnam_r in mod_userdir
Date Fri, 10 Nov 2000 20:37:24 GMT
On Fri, 10 Nov 2000 rbb@covalent.net wrote:

>
> 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.

    [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=482572+0+archive/1999/freebsd-hackers/19990214.freebsd-hackers

    - Sascha



Mime
View raw message