Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svnmerge-integrated changed from /branches/1.2:1-324,328,334,339,354,358,380,423,428,430,432,447,449,453,465-466,468 to /branches/1.2:1-324,328,334,339,354,358,380,423,428,430,432,447,449,453,465-466,468,471
-
trunk/ChangeLog
r469 r472 6 6 ChangeLog 7 7 ======== 8 * live with wrong system time: allow caching files with mtime in further 8 9 * bug fix for compatibility with Zend Optimizer and other non-cachable 9 10 * new: xcache.stat = On -
trunk/xcache.c
r467 r472 776 776 xc_entry_data_php_t *php; 777 777 char *ptr; 778 time_t delta; 778 779 779 780 if (!filename || !SG(request_info).path_translated) { … … 830 831 831 832 stat_done: 832 if (XG(request_time) - pbuf->st_mtime < 2 && !xc_test) { 833 delta = XG(request_time) - pbuf->st_mtime < 2; 834 if (abs(delta) < 2 && !xc_test) { 833 835 return FAILURE; 834 836 }

