Changeset 1230


Ignore:
Timestamp:
2013-01-14T15:22:36+01:00 (2 years ago)
Author:
moo
Message:

fixes #297: segv on startup under sparc, ini setting overflow

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r1224 r1230  
    33======== 
    44 * adds support for PHP_5_5 
     5 
     63.0.2 2013-??-?? 
     7ChangeLog 
     8======== 
     9 * fixes #297: segv on startup under sparc, ini setting overflow 
    510 
    6113.0.1 2013-01-11 
  • trunk/NEWS

    r1224 r1230  
    1 3.1.1 2012-??-?? 
     13.1.0 2012-??-?? 
    22======== 
    33 * adds support for PHP_5_5 
     4 
     53.0.2 2013-??-?? 
     6======== 
     7 * bug fixes 
    48 
    593.0.1 2013-01-11 
  • trunk/xcache.c

    r1201 r1230  
    3737/* {{{ globals */ 
    3838static char *xc_coredump_dir = NULL; 
    39 static zend_bool xc_coredump_type = 0; 
     39#ifdef ZEND_WIN32 
     40static zend_ulong xc_coredump_type = 0; 
     41#endif 
    4042static zend_bool xc_disable_on_crash = 0; 
    4143 
     
    721723PHP_INI_BEGIN() 
    722724    PHP_INI_ENTRY1     ("xcache.coredump_directory",      "", PHP_INI_SYSTEM, xcache_OnUpdateString,   &xc_coredump_dir) 
     725#ifdef ZEND_WIN32 
    723726    PHP_INI_ENTRY1     ("xcache.coredump_type",          "0", PHP_INI_SYSTEM, xcache_OnUpdateULong,    &xc_coredump_type) 
     727#endif 
    724728    PHP_INI_ENTRY1_EX  ("xcache.disable_on_crash",       "0", PHP_INI_SYSTEM, xcache_OnUpdateBool,     &xc_disable_on_crash, zend_ini_boolean_displayer_cb) 
    725729    PHP_INI_ENTRY1_EX  ("xcache.test",                   "0", PHP_INI_SYSTEM, xcache_OnUpdateBool,     &xc_test,             zend_ini_boolean_displayer_cb) 
Note: See TracChangeset for help on using the changeset viewer.