Changeset 1073 for trunk/dll/killproc.c
- Timestamp:
- Jul 18, 2008, 2:30:20 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/killproc.c
r1063 r1073 37 37 #include "errutil.h" // Dos_Error... 38 38 #include "strutil.h" // GetPString 39 #include "pathutil.h" // BldFullPathName 39 40 #include "fm3dll.h" 40 41 #include "fortify.h" … … 236 237 237 238 WinSendDlgItemMsg(hwnd, KILL_LISTBOX, LM_DELETEALL, MPVOID, MPVOID); 238 strcpy(s, "$PSTAT#$.#$#"); 239 if (fUseTmp) 240 BldFullPathName(s, pTmpDir, "$PSTAT#$.#$#"); 241 else 242 strcpy(s, "$PSTAT#$.#$#"); 239 243 unlinkf("%s", s); 240 244 fp = fopen(s, "w"); … … 303 307 } 304 308 Abort: 305 DosForceDelete("$PSTAT#$.#$#"); 309 if (fUseTmp) { 310 CHAR szTempFile[CCHMAXPATH]; 311 312 BldFullPathName(szTempFile, pTmpDir, "$PSTAT#$.#$#"); 313 DosForceDelete(szTempFile); 314 } 315 else 316 DosForceDelete("$PSTAT#$.#$#"); 306 317 PostMsg(hwnd, UM_CONTAINER_FILLED, MPVOID, MPVOID); 307 318 WinDestroyMsgQueue(thmq);
Note:
See TracChangeset
for help on using the changeset viewer.