hyanantha Thu Mar 10 06:41:01 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/session mod_files.c Log: NetWare stat structure difference has been handled http://cvs.php.net/diff.php/php-src/ext/session/mod_files.c?r1=1.95.2.3&r2=1.95.2.4&ty=u Index: php-src/ext/session/mod_files.c diff -u php-src/ext/session/mod_files.c:1.95.2.3 php-src/ext/session/mod_files.c:1.95.2.4 --- php-src/ext/session/mod_files.c:1.95.2.3 Tue Jan 18 10:45:51 2005 +++ php-src/ext/session/mod_files.c Thu Mar 10 06:41:00 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mod_files.c,v 1.95.2.3 2005/01/18 15:45:51 sniper Exp $ */ +/* $Id: mod_files.c,v 1.95.2.4 2005/03/10 11:41:00 hyanantha Exp $ */ #include "php.h" @@ -219,7 +219,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