Update of /cvsroot/sbcl/sbcl/src/runtime
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv7735/src/runtime
Modified Files:
run-program.c
Log Message:
1.0.12.42: Fix minor regression in RUN-PROGRAM on win32
* Recent RUN-PROGRAM changes allowed strange errors in SBCL when a
child exited with a random negative exit status (e.g., when the
child crashes).
Index: run-program.c
===================================================================
RCS file: /cvsroot/sbcl/sbcl/src/runtime/run-program.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- run-program.c 19 Dec 2007 02:28:13 -0000 1.16
+++ run-program.c 21 Dec 2007 00:42:23 -0000 1.17
@@ -190,9 +190,9 @@
/* Spawn process given on the command line*/
if (search)
- hProcess = (HANDLE) spawnvp ( wait_mode, program, argv );
+ hProcess = (HANDLE) spawnvp ( wait_mode, program, argv );
else
- hProcess = (HANDLE) spawnv ( wait_mode, program, argv );
+ hProcess = (HANDLE) spawnv ( wait_mode, program, argv );
/* Now that the process is launched, replace the original
* in/out/err handles and close the backups. */
|