hyanantha               Mon Mar 14 06:01:02 2005 EDT

  Modified files:              (Branch: PHP_5_0)
    /php-src/ext/session        session.c 
  Log:
  NetWare specific stat structure changes
  
  
http://cvs.php.net/diff.php/php-src/ext/session/session.c?r1=1.391.2.9&r2=1.391.2.10&ty=u
Index: php-src/ext/session/session.c
diff -u php-src/ext/session/session.c:1.391.2.9 
php-src/ext/session/session.c:1.391.2.10
--- php-src/ext/session/session.c:1.391.2.9     Thu Feb 10 14:40:53 2005
+++ php-src/ext/session/session.c       Mon Mar 14 06:01:00 2005
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: session.c,v 1.391.2.9 2005/02/10 19:40:53 tony2001 Exp $ */
+/* $Id: session.c,v 1.391.2.10 2005/03/14 11:01:00 hyanantha Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -875,7 +875,11 @@
 
 #define LAST_MODIFIED "Last-Modified: "
                memcpy(buf, LAST_MODIFIED, sizeof(LAST_MODIFIED) - 1);
+#ifdef NETWARE
+               strcpy_gmt(buf + sizeof(LAST_MODIFIED) - 1, 
&(sb.st_mtime.tv_sec));
+#else
                strcpy_gmt(buf + sizeof(LAST_MODIFIED) - 1, &sb.st_mtime);
+#endif
                ADD_HEADER(buf);
        }
 }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to