[PATCH] uclibc does not have crypt_r

Timothy Redaelli drizzt at gentoo.org
Wed Mar 18 20:37:08 MSK 2009


Hi,
in src/os/unix/ngx_linux_config.h you assume that linux always has crypt_r().

It is not true, only glibc has crypt_r.
I attach a patch that add an auto/feature check to find when you have crypt_t 
function.

The patch work also on 0.7.43 version

-- 
Timothy `Drizzt` Redaelli
FreeSBIE Developer, Gentoo Developer, GUFI Staff
There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence.      -- Jeremy S. Anderson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx-0.7.39-uclibc.patch
Type: text/x-diff
Size: 743 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20090318/4375c9df/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://nginx.org/pipermail/nginx/attachments/20090318/4375c9df/attachment.pgp>


More information about the nginx mailing list