Changeset 21a895a in git


Ignore:
Timestamp:
2014-09-11T08:30:37Z (3 years ago)
Author:
Xuefer <xuefer@…>
Branches:
master, trunk
Children:
293e6ab
Parents:
be1ba47
Message:

fix typo in last commit: disable __DIR__ recognization for <=PHP_5_2

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mod_cacher/xc_cacher.c

    rbe1ba47 r21a895a  
    12711271
    12721272    compiler->new_entry.filepath  = NULL;
    1273 #ifdef ZEND_ENGNIE_2_3
     1273#ifdef ZEND_ENGINE_2_3
    12741274    compiler->new_entry.dirpath   = NULL;
    12751275#endif
    12761276#ifdef IS_UNICODE
    12771277    compiler->new_entry.ufilepath = NULL;
    1278 #   ifdef ZEND_ENGNIE_2_3
     1278#   ifdef ZEND_ENGINE_2_3
    12791279    compiler->new_entry.udirpath  = NULL;
    12801280#   endif
     
    13331333    entry_php->filepath     = ZEND_24((char *), NOTHING) filepath;
    13341334    entry_php->filepath_len = strlen(entry_php->filepath);
    1335 #ifdef ZEND_ENGNIE_2_3
     1335#ifdef ZEND_ENGINE_2_3
    13361336    entry_php->dirpath      = estrndup(entry_php->filepath, entry_php->filepath_len);
    13371337    entry_php->dirpath_len  = zend_dirname(entry_php->dirpath, entry_php->filepath_len);
     
    13391339#ifdef IS_UNICODE
    13401340    zend_string_to_unicode(ZEND_U_CONVERTER(UG(runtime_encoding_conv)), &entry_php->ufilepath, &entry_php->ufilepath_len, entry_php->filepath, entry_php->filepath_len TSRMLS_CC);
    1341 #   ifdef ZEND_ENGNIE_2_3
     1341#   ifdef ZEND_ENGINE_2_3
    13421342    zend_string_to_unicode(ZEND_U_CONVERTER(UG(runtime_encoding_conv)), &entry_php->udirpath,  &entry_php->udirpath_len,  entry_php->dirpath,  entry_php->dirpath_len TSRMLS_CC);
    13431343#   endif
Note: See TracChangeset for help on using the changeset viewer.