From: Paul Querna Date: Sat, 22 Apr 2006 01:28:13 +0000 (+0000) Subject: Backport r393364 from trunk, fixing a bug with crypt in htdbm. X-Git-Tag: 2.2.2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e461c31bc797aebb9c34b55111a7faf141b7e30d;p=thirdparty%2Fapache%2Fhttpd.git Backport r393364 from trunk, fixing a bug with crypt in htdbm. Reviewed By: trawick, colm, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@396045 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index c53d29e2826..39ca737a0f0 100644 --- a/CHANGES +++ b/CHANGES @@ -19,6 +19,9 @@ Changes with Apache 2.2.2 send to a target site. Reported by Thiago Zaninotti . [Mark Cox] + *) htdbm: Fix crash processing -d option in 64-bit mode on HP-UX. + [Jeff Trawick] + *) htdbm: Warn the user when adding a plaintext password on a platform where it wouldn't work with the server (i.e., anywhere that has crypt()). [Jeff Trawick] diff --git a/support/htdbm.c b/support/htdbm.c index 13e10c6b18e..535b0443fcf 100644 --- a/support/htdbm.c +++ b/support/htdbm.c @@ -48,6 +48,9 @@ #include "apr_xlate.h" #endif /*APR_CHARSET_EBCDIC*/ +#if APR_HAVE_UNISTD_H +#include +#endif #if APR_HAVE_CRYPT_H #include #endif