summaryrefslogtreecommitdiff
path: root/ext/standard/pageinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/pageinfo.c')
-rw-r--r--ext/standard/pageinfo.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/standard/pageinfo.c b/ext/standard/pageinfo.c
index 39d1d4023..78faba588 100644
--- a/ext/standard/pageinfo.c
+++ b/ext/standard/pageinfo.c
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pageinfo.c,v 1.37.2.1 2005/03/10 12:26:14 hyanantha Exp $ */
+/* $Id: pageinfo.c,v 1.37.2.2 2005/07/15 09:29:19 hyanantha Exp $ */
#include "php.h"
#include "pageinfo.h"
@@ -59,11 +59,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);
@@ -73,7 +69,7 @@ PHPAPI void php_statpage(TSRMLS_D)
BG(page_gid) = pstat->st_gid;
BG(page_inode) = pstat->st_ino;
#ifdef NETWARE
- BG(page_mtime) = (pstat->st_mtime).tv_nsec;
+ BG(page_mtime) = (pstat->st_mtime).tv_sec;
#else
BG(page_mtime) = pstat->st_mtime;
#endif