Changeset 471
- Timestamp:
- 08/08/2007 04:08:49 PM (16 months ago)
- Location:
- branches/1.2
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/ChangeLog
r468 r471 1 1 1.2.2 2007-?-? 2 2 == ChangeLog == 3 * live with wrong system time: allow caching files with mtime in further 3 4 * bug fix for compatibility with Zend Optimizer and other non-cachable 4 5 * #102: segv when var cacher is too small -
branches/1.2/xcache.c
r465 r471 719 719 xc_entry_data_php_t *php; 720 720 char *ptr; 721 time_t delta; 721 722 722 723 if (!filename || !SG(request_info).path_translated) { … … 769 770 770 771 stat_done: 771 if (XG(request_time) - pbuf->st_mtime < 2 && !xc_test) { 772 delta = XG(request_time) - pbuf->st_mtime < 2; 773 if (abs(delta) < 2 && !xc_test) { 772 774 return 0; 773 775 }

