Changeset 1182 for trunk/xcache.c
- Timestamp:
- 2012-12-06T09:48:01+01:00 (6 months ago)
- File:
-
- 1 edited
-
trunk/xcache.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r1181 r1182 37 37 /* {{{ globals */ 38 38 static char *xc_coredump_dir = NULL; 39 static zend_bool xc_coredump_type = 0; 39 40 static zend_bool xc_disable_on_crash = 0; 40 41 … … 430 431 if (fileHandle != INVALID_HANDLE_VALUE) { 431 432 MINIDUMP_EXCEPTION_INFORMATION exceptionInformation; 433 MINIDUMP_TYPE type = xc_coredump_type ? xc_coredump_type : (MiniDumpNormal|MiniDumpWithDataSegs|MiniDumpWithIndirectlyReferencedMemory); 432 434 BOOL ok; 433 435 … … 437 439 438 440 /* write the dump */ 439 ok = dbghelp_MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), fileHandle, MiniDumpNormal|MiniDumpWithDataSegs|MiniDumpWithIndirectlyReferencedMemory, &exceptionInformation, NULL, NULL);441 ok = dbghelp_MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), fileHandle, type, &exceptionInformation, NULL, NULL); 440 442 CloseHandle(fileHandle); 441 443 if (ok) { … … 719 721 PHP_INI_BEGIN() 720 722 PHP_INI_ENTRY1 ("xcache.coredump_directory", "", PHP_INI_SYSTEM, xcache_OnUpdateString, &xc_coredump_dir) 723 PHP_INI_ENTRY1 ("xcache.coredump_type", "0", PHP_INI_SYSTEM, xcache_OnUpdateULong, &xc_coredump_type) 721 724 PHP_INI_ENTRY1_EX ("xcache.disable_on_crash", "0", PHP_INI_SYSTEM, xcache_OnUpdateBool, &xc_disable_on_crash, zend_ini_boolean_displayer_cb) 722 725 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.

