Changeset 1636
- Timestamp:
- Nov 15, 2004, 10:03:46 AM (21 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  trunk/src/emx/src/lib/sys/__spawnve.c (modified) (1 diff, 1 prop)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/src/emx/src/lib/sys/__spawnve.c- 
Property       cvs2svn:cvs-rev
 changed from       1.13to1.14
 r1635 r1636 314 314 case P_OVERLAY: 315 315 { 316 /** @todo cleanup this mess! */ 316 317 PID pid = resc.codeTerminate; 317 318 PID pidEnded = 0; 318 319 FS_SAVE_LOAD(); 319 320 LIBCLOG_MSG("Calling DosWaitChild(,,,,0x%04lx)\n", pid); 320 rc = DosWaitChild(DCWA_PROCESS, DCWW_WAIT, &resc, &pidEnded, pid); 321 //rc = DosWaitChild(DCWA_PROCESS, DCWW_WAIT, &resc, &pidEnded, pid); 322 int iStatus = 0; 323 pidEnded = waitpid(pid, &iStatus, 0); 324 if (pidEnded <= 0) 325 rc = -errno; 326 else 327 resc.codeResult = iStatus >> 8; 321 328 if (!rc) 322 329 { 
- 
Property       cvs2svn:cvs-rev
 changed from       
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
