Changeset 916 for trunk/xcache.c


Ignore:
Timestamp:
2012-06-23T05:39:49+02:00 (3 years ago)
Author:
moo
Message:

fix coredump path should be xcache.coredump_directory

File:
1 edited

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);
Note: See TracChangeset for help on using the changeset viewer.