From 6692794433695b27c7ef4dfbc012ce7f3d79adb9 Mon Sep 17 00:00:00 2001 From: Anantha Kesari H Y Date: Sat, 25 Sep 2004 15:23:35 +0000 Subject: [PATCH] removed redundance LIBC checks for NETWARE --- ext/standard/pageinfo.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ext/standard/pageinfo.c b/ext/standard/pageinfo.c index 9f02be2be5..af5f939a70 100644 --- a/ext/standard/pageinfo.c +++ b/ext/standard/pageinfo.c @@ -64,11 +64,7 @@ extern int basic_globals_id; */ PHPAPI void php_statpage(TSRMLS_D) { -#if defined(NETWARE) && defined(CLIB_STAT_PATCH) - struct stat_libc *pstat; -#else struct stat *pstat; -#endif pstat = sapi_get_stat(TSRMLS_C); @@ -77,8 +73,8 @@ PHPAPI void php_statpage(TSRMLS_D) BG(page_uid) = pstat->st_uid; BG(page_gid) = pstat->st_gid; BG(page_inode) = pstat->st_ino; -#if defined(NETWARE) && defined(NEW_LIBC) - BG(page_mtime) = (pstat->st_mtime).tv_nsec; +#ifdef NETWARE + BG(page_mtime) = (pstat->st_mtime).tv_sec; #else BG(page_mtime) = pstat->st_mtime; #endif -- 2.50.1