hyanantha Thu Mar 10 07:26:14 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/standard pageinfo.c
Log:
NetWare LibC has pwd.h and removing the redundant NEW_LIBC checks
http://cvs.php.net/diff.php/php-src/ext/standard/pageinfo.c?r1=1.37&r2=1.37.2.1&ty=u
Index: php-src/ext/standard/pageinfo.c
diff -u php-src/ext/standard/pageinfo.c:1.37
php-src/ext/standard/pageinfo.c:1.37.2.1
--- php-src/ext/standard/pageinfo.c:1.37 Thu Jan 8 03:17:33 2004
+++ php-src/ext/standard/pageinfo.c Thu Mar 10 07:26:14 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pageinfo.c,v 1.37 2004/01/08 08:17:33 andi Exp $ */
+/* $Id: pageinfo.c,v 1.37.2.1 2005/03/10 12:26:14 hyanantha Exp $ */
#include "php.h"
#include "pageinfo.h"
@@ -27,11 +27,6 @@
#if HAVE_PWD_H
#ifdef PHP_WIN32
#include "win32/pwd.h"
-#elif defined(NETWARE)
-#ifdef ZTS
-extern int basic_globals_id;
-#endif
-#include "netware/pwd.h"
#else
#include <pwd.h>
#endif
@@ -77,7 +72,7 @@
BG(page_uid) = pstat->st_uid;
BG(page_gid) = pstat->st_gid;
BG(page_inode) = pstat->st_ino;
-#if defined(NETWARE) && defined(NEW_LIBC)
+#ifdef NETWARE
BG(page_mtime) = (pstat->st_mtime).tv_nsec;
#else
BG(page_mtime) = pstat->st_mtime;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php