]> granicus.if.org Git - php/commitdiff
removing redundant NEW_LIBC checks
authorAnantha Kesari H Y <hyanantha@php.net>
Tue, 28 Jun 2005 15:14:22 +0000 (15:14 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Tue, 28 Jun 2005 15:14:22 +0000 (15:14 +0000)
ext/standard/filestat.c

index d6ae93cea9882c739114d3b496f8fe8c2df11828..70aab7402b29d06aa9863bd2e771114513ac3e3c 100644 (file)
@@ -637,11 +637,7 @@ PHPAPI void php_stat(const char *filename, php_stat_len filename_length, int typ
        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: