cvs: php-src(PHP_4_4) /sapi/apache2filter sapi_apache2.c
| From: | Anantha Kesari H Y | Date: | Wed, 03 Aug 2005 14:49:53 +0000 |
| Subject: | cvs: php-src(PHP_4_4) /sapi/apache2filter sapi_apache2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33166@lists.php.net to get a copy of this message | ||
hyanantha Wed Aug 3 10:49:53 2005 EDT
Modified files: (Branch: PHP_4_4)
/php-src/sapi/apache2filter sapi_apache2.c
Log:
NetWare specific stat structure issues.
--Kamesh
http://cvs.php.net/diff.php/php-src/sapi/apache2filter/sapi_apache2.c?r1=1.91.2.27&r2=1.91.2.27.2.1&ty=u
Index: php-src/sapi/apache2filter/sapi_apache2.c
diff -u php-src/sapi/apache2filter/sapi_apache2.c:1.91.2.27
php-src/sapi/apache2filter/sapi_apache2.c:1.91.2.27.2.1
--- php-src/sapi/apache2filter/sapi_apache2.c:1.91.2.27 Fri Apr 8 16:35:02 2005
+++ php-src/sapi/apache2filter/sapi_apache2.c Wed Aug 3 10:49:50 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sapi_apache2.c,v 1.91.2.27 2005/04/08 20:35:02 sniper Exp $ */
+/* $Id: sapi_apache2.c,v 1.91.2.27.2.1 2005/08/03 14:49:50 hyanantha Exp $ */
#include <fcntl.h>
@@ -168,9 +168,15 @@
ctx->finfo.st_gid = ctx->r->finfo.group;
ctx->finfo.st_dev = ctx->r->finfo.device;
ctx->finfo.st_ino = ctx->r->finfo.inode;
+#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;
+#else
ctx->finfo.st_atime = ctx->r->finfo.atime/1000000;
ctx->finfo.st_mtime = ctx->r->finfo.mtime/1000000;
ctx->finfo.st_ctime = ctx->r->finfo.ctime/1000000;
+#endif
ctx->finfo.st_size = ctx->r->finfo.size;
ctx->finfo.st_nlink = ctx->r->finfo.nlink;