From: foobar Date: Sun, 17 Apr 2005 13:27:18 +0000 (+0000) Subject: - Fixed bug #32730 (ext/crack.c fails to compile with cracklib-2.8.3) X-Git-Tag: php-4.4.0RC1~120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52105b88b40c5c9a5297a7fad3bee6c10022b838;p=php - Fixed bug #32730 (ext/crack.c fails to compile with cracklib-2.8.3) --- diff --git a/NEWS b/NEWS index 59db2950a5..ff756318c7 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ PHP 4 NEWS them sort based on the current locale. (Derick) - Changed sha1_file() and md5_file() functions to use streams instead of low level IO. (Uwe) +- Fixed bug #32730 (ext/crack.c fails to compile with cracklib-2.8.3). (Jani) - Fixed bug #32699 (pg_affected_rows() was defined when it was not available). (Derick) - Fixed bug #32682 (ext/mssql: Error on module shutdown when called from diff --git a/ext/crack/crack.c b/ext/crack/crack.c index f8f7eb2d01..159423ba77 100644 --- a/ext/crack/crack.c +++ b/ext/crack/crack.c @@ -29,6 +29,10 @@ #include +#ifndef STRINGSIZE +#define STRINGSIZE 1024 +#endif + extern char * FascistLook(PWDICT *pwp, char *instring); extern int PWClose(PWDICT *pwp);