From 63394e6885ef60f61a5ef803094362625f50805d Mon Sep 17 00:00:00 2001 From: Anantha Kesari H Y Date: Sat, 16 Jul 2005 12:30:10 +0000 Subject: [PATCH] sapi/apache2filter/php_apache.h Removing redundant CLIB_STAT_PATCH sapi/apache2filter/sapi_apache2.c Removing redundant CLIB_STAT_PATCH -- Kamesh --- sapi/apache2filter/php_apache.h | 4 ---- sapi/apache2filter/sapi_apache2.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/sapi/apache2filter/php_apache.h b/sapi/apache2filter/php_apache.h index a127a4b782..27dd89b3f7 100644 --- a/sapi/apache2filter/php_apache.h +++ b/sapi/apache2filter/php_apache.h @@ -41,11 +41,7 @@ typedef struct php_struct { /* Index for reading from buffer */ int post_idx; /* stat structure of the current file */ -#if defined(NETWARE) && defined(CLIB_STAT_PATCH) - struct stat_libc finfo; -#else struct stat finfo; -#endif /* Buffer for request body filter */ char *post_data; /* Whether or not we've processed PHP in the output filters yet. */ diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index 02615ff8b6..3faafead59 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -171,7 +171,7 @@ php_apache_sapi_get_stat(TSRMLS_D) ctx->finfo.st_gid = ctx->r->finfo.group; ctx->finfo.st_dev = ctx->r->finfo.device; ctx->finfo.st_ino = ctx->r->finfo.inode; -#if defined(NETWARE) && defined(CLIB_STAT_PATCH) +#ifdef NETWARE ctx->finfo.st_atime.tv_sec = ctx->r->finfo.atime/1000000; ctx->finfo.st_mtime.tv_sec = ctx->r->finfo.mtime/1000000; ctx->finfo.st_ctime.tv_sec = ctx->r->finfo.ctime/1000000; -- 2.40.0