Changeset 1230 for trunk/xcache.c


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.