cvs: pecl /apc apc_cache.c
| From: | Rasmus Lerdorf | Date: | Tue, 07 Sep 2004 06:27:00 +0000 |
| Subject: | cvs: pecl /apc apc_cache.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-1799@lists.php.net to get a copy of this message | ||
rasmus Tue Sep 7 02:27:00 2004 EDT
Modified files:
/pecl/apc apc_cache.c
Log:
Fix for PECL bug #1529
http://cvs.php.net/diff.php/pecl/apc/apc_cache.c?r1=3.62&r2=3.63&ty=u
Index: pecl/apc/apc_cache.c
diff -u pecl/apc/apc_cache.c:3.62 pecl/apc/apc_cache.c:3.63
--- pecl/apc/apc_cache.c:3.62 Tue Sep 7 00:18:02 2004
+++ pecl/apc/apc_cache.c Tue Sep 7 02:26:59 2004
@@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: apc_cache.c,v 3.62 2004/09/07 04:18:02 rasmus Exp $ */
+/* $Id: apc_cache.c,v 3.63 2004/09/07 06:26:59 rasmus Exp $ */
#include "apc_cache.h"
#include "apc_lock.h"
@@ -381,7 +381,7 @@
key->device = buf.st_dev;
key->inode = buf.st_ino;
- key->mtime = buf.st_mtime;
+ key->mtime = (buf.st_ctime > buf.st_mtime) ? buf.st_ctime : buf.st_mtime;
return 1;
}
/* }}} */