bjori Fri Jan 12 14:34:47 2007 UTC Modified files: /php-src/main fopen_wrappers.c Log: MFB: Fix build (wharmby at uk dot ibm dot com) http://cvs.php.net/viewvc.cgi/php-src/main/fopen_wrappers.c?r1=1.189&r2=1.190&diff_format=u Index: php-src/main/fopen_wrappers.c diff -u php-src/main/fopen_wrappers.c:1.189 php-src/main/fopen_wrappers.c:1.190 --- php-src/main/fopen_wrappers.c:1.189 Fri Jan 12 09:10:05 2007 +++ php-src/main/fopen_wrappers.c Fri Jan 12 14:34:46 2007 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: fopen_wrappers.c,v 1.189 2007/01/12 09:10:05 tony2001 Exp $ */ +/* $Id: fopen_wrappers.c,v 1.190 2007/01/12 14:34:46 bjori Exp $ */ /* {{{ includes */ @@ -280,6 +280,7 @@ char user[32]; /* to try open the directory */ struct passwd *pw; #if defined(ZTS) && defined(HAVE_GETPWNAM_R) && defined(_SC_GETPW_R_SIZE_MAX) + struct passwd pwstruc; long pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX); char *pwbuf;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php