Changeset 96e1893 in git


Ignore:
Timestamp:
2013-06-26T15:03:13Z (6 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.1, 3.2, master, trunk
Children:
6b8fd2c
Parents:
401eee2
Message:

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

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1277 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rdd6e9fb r96e1893  
    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
  • NEWS

    rdd6e9fb r96e1893  
    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
  • mod_cacher/xc_cacher.c

    r876859c r96e1893  
    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.