Changeset 634 for trunk/src/kernel32/wprocess.cpp
- Timestamp:
- Aug 23, 1999, 12:11:23 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/wprocess.cpp
r622 r634 1 /* $Id: wprocess.cpp,v 1.2 5 1999-08-22 14:24:35sandervl Exp $ */1 /* $Id: wprocess.cpp,v 1.26 1999-08-22 22:11:23 sandervl Exp $ */ 2 2 3 3 /* … … 329 329 dprintf(("KERNEL32: ExitProcess FS = %x\n", GetFS())); 330 330 331 SetOS2ExceptionChain(-1); 332 331 333 //avoid crashes since win32 & OS/2 exception handler aren't identical 332 334 //(terminate process generates two exceptions) … … 674 676 675 677 if(O32_CreateProcess(lpszImageName, lpszCommandLine, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) == TRUE) 676 return(TRUE);678 return(TRUE); 677 679 678 680 //probably a win32 exe, so run it in the pe loader 679 681 if(lpszImageName) { 680 if(lpszCommandLine) {681 cmdline = (char *)malloc(strlen(lpszImageName)+strlen(lpszCommandLine) + 16);682 sprintf(cmdline, "%s %s", lpszImageName, lpszCommandLine);683 fAllocStr = TRUE;684 }685 else cmdline = (char *)lpszImageName;682 if(lpszCommandLine) { 683 cmdline = (char *)malloc(strlen(lpszImageName)+strlen(lpszCommandLine) + 16); 684 sprintf(cmdline, "%s %s", lpszImageName, lpszCommandLine); 685 fAllocStr = TRUE; 686 } 687 else cmdline = (char *)lpszImageName; 686 688 } 687 689 else cmdline = (char *)lpszCommandLine;
Note:
See TracChangeset
for help on using the changeset viewer.