cvs: php-src(PHP_5_2) /main fopen_wrappers.c
| From: | Hannes Magnusson | Date: | Fri, 12 Jan 2007 14:31:28 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /main fopen_wrappers.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-42699@lists.php.net to get a copy of this message | ||
bjori Fri Jan 12 14:31:28 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/main fopen_wrappers.c
Log:
Fix build
#Thanks Andy
http://cvs.php.net/viewvc.cgi/php-src/main/fopen_wrappers.c?r1=1.175.2.3.2.7&r2=1.175.2.3.2.8&diff_format=u
Index: php-src/main/fopen_wrappers.c
diff -u php-src/main/fopen_wrappers.c:1.175.2.3.2.7 php-src/main/fopen_wrappers.c:1.175.2.3.2.8
--- php-src/main/fopen_wrappers.c:1.175.2.3.2.7 Fri Jan 12 09:10:16 2007
+++ php-src/main/fopen_wrappers.c Fri Jan 12 14:31:28 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: fopen_wrappers.c,v 1.175.2.3.2.7 2007/01/12 09:10:16 tony2001 Exp $ */
+/* $Id: fopen_wrappers.c,v 1.175.2.3.2.8 2007/01/12 14:31:28 bjori Exp $ */
/* {{{ includes
*/
@@ -272,6 +272,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;