Changeset 21837 for branches/gcc-kmk/src/kernel32/winimagepeldr.cpp
- Timestamp:
- Nov 30, 2011, 2:58:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/kernel32/winimagepeldr.cpp
r21824 r21837 41 41 42 42 #ifdef DEBUG 43 #include <process.h> 43 44 //use a different logfile 44 45 #define PRIVATE_LOGGING … … 86 87 char logname[CCHMAXPATH]; 87 88 88 sprintf(logname, "pe_%d.log", loadNr);89 sprintf(logname, "pe_%d.log", getpid()); 89 90 _privateLogFile = fopen(logname, "w"); 90 91 if(_privateLogFile == NULL) { 91 sprintf(logname, "%spe_%d.log", kernel32Path, loadNr);92 sprintf(logname, "%spe_%d.log", kernel32Path, getpid()); 92 93 _privateLogFile = fopen(logname, "w"); 93 94 }
Note:
See TracChangeset
for help on using the changeset viewer.