Changeset 916 for trunk/xcache.c

Show
Ignore:
Timestamp:
06/23/2012 05:39:49 AM (11 months ago)
Author:
moo
Message:

fix coredump path should be xcache.coredump_directory

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r915 r916  
    34233423    } 
    34243424 
    3425     /* work out a good place for the dump file */ 
    3426     { 
    3427         char tmpPath[_MAX_PATH]; 
    3428         if (!GetTempPath(_MAX_PATH, tmpPath)) { 
    3429             strcpy(tmpPath, "c:\\temp"); 
    3430         } 
    3431         sprintf(crash_dumpPath, "%s\\php-%s-xcache-%s-%lu.dmp", PHP_VERSION, XCACHE_VERSION, (unsigned long) GetCurrentProcessId()); 
    3432     } 
     3425    sprintf(crash_dumpPath, "%s\\php-%s-xcache-%s-%lu.dmp", xc_coredump_dir, PHP_VERSION, XCACHE_VERSION, (unsigned long) GetCurrentProcessId()); 
    34333426 
    34343427    oldFilter = SetUnhandledExceptionFilter(&miniDumperFilter);