hyanantha Fri Mar 11 06:16:23 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/standard file.c Log: NetWare LibC has pwd.h and removing redundant CLIB_STAT_PATCH http://cvs.php.net/diff.php/php-src/ext/standard/file.c?r1=1.382.2.5&r2=1.382.2.6&ty=u Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.382.2.5 php-src/ext/standard/file.c:1.382.2.6 --- php-src/ext/standard/file.c:1.382.2.5 Sun Mar 6 19:17:51 2005 +++ php-src/ext/standard/file.c Fri Mar 11 06:16:19 2005 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.382.2.5 2005/03/07 00:17:51 helly Exp $ */ +/* $Id: file.c,v 1.382.2.6 2005/03/11 11:16:19 hyanantha Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -76,8 +76,6 @@ #if HAVE_PWD_H #ifdef PHP_WIN32 #include "win32/pwd.h" -#elif defined(NETWARE) -#include "netware/pwd.h" #else #include <pwd.h> #endif @@ -1538,7 +1536,7 @@ MAKE_LONG_ZVAL_INCREF(stat_rdev, -1); #endif MAKE_LONG_ZVAL_INCREF(stat_size, stat_ssb.sb.st_size); -#if defined(NETWARE) && defined(CLIB_STAT_PATCH) +#ifdef NETWARE MAKE_LONG_ZVAL_INCREF(stat_atime, stat_ssb.sb.st_atime.tv_sec); MAKE_LONG_ZVAL_INCREF(stat_mtime, stat_ssb.sb.st_mtime.tv_sec); MAKE_LONG_ZVAL_INCREF(stat_ctime, stat_ssb.sb.st_ctime.tv_sec);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php