hyanantha Tue Jun 28 11:14:22 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/standard filestat.c
Log:
removing redundant NEW_LIBC checks
http://cvs.php.net/diff.php/php-src/ext/standard/filestat.c?r1=1.130.2.2&r2=1.130.2.3&ty=u
Index: php-src/ext/standard/filestat.c
diff -u php-src/ext/standard/filestat.c:1.130.2.2
php-src/ext/standard/filestat.c:1.130.2.3
--- php-src/ext/standard/filestat.c:1.130.2.2 Fri Mar 11 06:20:24 2005
+++ php-src/ext/standard/filestat.c Tue Jun 28 11:14:22 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filestat.c,v 1.130.2.2 2005/03/11 11:20:24 hyanantha Exp $ */
+/* $Id: filestat.c,v 1.130.2.3 2005/06/28 15:14:22 hyanantha Exp $ */
#include "php.h"
#include "safe_mode.h"
@@ -637,11 +637,7 @@
case FS_INODE:
RETURN_LONG((long)ssb.sb.st_ino);
case FS_SIZE:
-#if defined(NETWARE) && defined(NEW_LIBC)
- RETURN_LONG((long)(stat_sb->st_size));
-#else
RETURN_LONG((long)ssb.sb.st_size);
-#endif
case FS_OWNER:
RETURN_LONG((long)ssb.sb.st_uid);
case FS_GROUP:
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php