cvs: php-src /ext/standard pageinfo.c

From: Date: Sat, 25 Sep 2004 15:23:35 +0000
Subject: cvs: php-src /ext/standard pageinfo.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-28764@lists.php.net to get a copy of this message
hyanantha Sat Sep 25 11:23:35 2004 EDT Modified files: /php-src/ext/standard pageinfo.c Log: removed redundance LIBC checks for NETWARE http://cvs.php.net/diff.php/php-src/ext/standard/pageinfo.c?r1=1.37&r2=1.38&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.38 --- php-src/ext/standard/pageinfo.c:1.37 Thu Jan 8 03:17:33 2004 +++ php-src/ext/standard/pageinfo.c Sat Sep 25 11:23:35 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pageinfo.c,v 1.37 2004/01/08 08:17:33 andi Exp $ */ +/* $Id: pageinfo.c,v 1.38 2004/09/25 15:23:35 hyanantha Exp $ */ #include "php.h" #include "pageinfo.h" @@ -64,11 +64,7 @@ */ 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 @@ 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

« previous php.cvs (#28764) next »