Changeset 1277 in svn


Ignore:
Timestamp:
2013-06-26T15:03:13Z (2 years ago)
Author:
Xuefer
Message:

un-experimental for FILE DIR handling after files moved/hardlinked

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r1275 r1277  
    55 * adds support for PHP_5_5
    66 * compatible with fcntl fork
     7 * support for __FILE__ __DIR__ handling after files moved/hardlinked (without xcache.experimental)
    78
    893.0.3 2013-16.18
  • trunk/NEWS

    r1275 r1277  
    44 * adds support for PHP_5_5
    55 * compatible with fcntl fork
     6 * support for __FILE__ __DIR__ handling after files moved/hardlinked
    67
    783.0.3 2013-16.18
  • trunk/mod_cacher/xc_cacher.c

    r1244 r1277  
    238238                    zend_bool inodeIsSame = php_entry1->file_inode == php_entry2->file_inode
    239239                                         && php_entry1->file_device == php_entry2->file_device;
    240                     if (XG(experimental)) {
    241                         /* new experimental behavior: quick check by inode, first */
    242                         if (!inodeIsSame) {
    243                             return 0;
    244                         }
    245 
    246                         /* and then opened_path compare */
    247                     }
    248                     else {
    249                         /* old behavior: inode check only */
    250                         return inodeIsSame;
     240                    if (!inodeIsSame) {
     241                        return 0;
    251242                    }
    252243                }
Note: See TracChangeset for help on using the changeset viewer.