Changeset 1846 for trunk/dll/killproc.c
- Timestamp:
- Aug 12, 2015, 10:31:54 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/killproc.c
r1738 r1846 35 35 22 Aug 14 JBS Ticket #519: Corrected mis-coded but probably harmless calls to strtol 36 36 and removed unneeded second parameter variables. 37 12 Aug 15 JBS Ticket #524: Ensure no "highmem-unsafe" functions are called directly 38 Calls to unsafe Dos... functions have been changed to call the wrapped xDos... functions 37 39 38 40 ***********************************************************************/ … … 278 280 else { 279 281 newstdout = -1; 280 rc = DosDupHandle(fileno(stdout), &newstdout);282 rc = xDosDupHandle(fileno(stdout), &newstdout); 281 283 if (rc) 282 284 Dos_Error(MB_CANCEL, rc, hwnd, __FILE__, __LINE__, PCSZ_DOSDUPHANDLE); 283 285 oldstdout = fileno(stdout); 284 DosDupHandle(fileno(fp), &oldstdout);286 xDosDupHandle(fileno(fp), &oldstdout); 285 287 rc = runemf2(SEPARATE | INVISIBLE | FULLSCREEN | BACKGROUND | WAIT, 286 288 hwnd, pszSrcFile, __LINE__, NULL, NULL, 287 289 "%s", "PSTAT.EXE /C"); 288 290 oldstdout = fileno(stdout); 289 DosDupHandle(newstdout, &oldstdout);291 xDosDupHandle(newstdout, &oldstdout); 290 292 DosClose(newstdout); 291 293 fclose(fp); … … 336 338 Abort: 337 339 BldFullPathName(s, pTmpDir, "$PSTAT#$.#$#"); 338 DosForceDelete(s);340 xDosForceDelete(s); 339 341 PostMsg(hwnd, UM_CONTAINER_FILLED, MPVOID, MPVOID); 340 342 WinDestroyMsgQueue(thmq);
Note:
See TracChangeset
for help on using the changeset viewer.