Changeset 111

Show
Ignore:
Timestamp:
06/24/05 10:38:41 (3 years ago)
Author:
zoeloelip
Message:

The future check is removed because mtime are only checked on changes

so caching files from the future isn't a problem.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ChangeLog

    r110 r111  
     12005-06-24 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
     2        * The future check is removed because mtime are only checked on changes 
     3          so caching files from the future isn't a problem. 
     4 
    152005-06-23 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
    26 
  • eaccelerator/trunk/eaccelerator.c

    r109 r111  
    29972997#endif 
    29982998  compile_time = time(0); 
    2999   if (buf.st_mtime <= compile_time && eaccelerator_debug > 0) { 
    3000         debug_printf("[%d] EACCELERATOR: \"%s\" isn't cached because it's mtime is in the future.\n",  
     2999  if (buf.st_mtime >= compile_time && eaccelerator_debug > 0) { 
     3000        debug_printf("[%d] EACCELERATOR: Warning: \"%s\" is cached but it's mtime is in the future.\n",  
    30013001                getpid(), file_handle->filename); 
    30023002  } 
     
    30083008      file_handle->filename == NULL || 
    30093009      eaccelerator_stat(file_handle, realname, &buf TSRMLS_CC) != 0 || 
    3010       buf.st_mtime >= compile_time || 
    30113010#ifdef EACCELERATOR_USE_INODE 
    30123011      0) {