hyanantha               Mon Jul 25 10:06:17 2005 EDT

  Modified files:              (Branch: PHP_4_4)
    /php-src/ext/session        mod_files.c 
  Log:
  Netware specific stat structure issues.
  --Kamesh
  
  
http://cvs.php.net/diff.php/php-src/ext/session/mod_files.c?r1=1.83.2.9&r2=1.83.2.9.2.1&ty=u
Index: php-src/ext/session/mod_files.c
diff -u php-src/ext/session/mod_files.c:1.83.2.9 
php-src/ext/session/mod_files.c:1.83.2.9.2.1
--- php-src/ext/session/mod_files.c:1.83.2.9    Tue Jan 18 10:45:01 2005
+++ php-src/ext/session/mod_files.c     Mon Jul 25 10:06:17 2005
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: mod_files.c,v 1.83.2.9 2005/01/18 15:45:01 sniper Exp $ */
+/* $Id: mod_files.c,v 1.83.2.9.2.1 2005/07/25 14:06:17 hyanantha Exp $ */
 
 #include "php.h"
 
@@ -215,7 +215,11 @@
                                buf[dirname_len + entry_len + 1] = '\0';
                                /* check whether its last access was more than 
maxlifet ago */
                                if (VCWD_STAT(buf, &sbuf) == 0 && 
+#ifdef NETWARE
+                                               (now - sbuf.st_mtime.tv_sec) > 
maxlifetime) {
+#else
                                                (now - sbuf.st_mtime) > 
maxlifetime) {
+#endif
                                        VCWD_UNLINK(buf);
                                        nrdels++;
                                }

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

Reply via email to