|
From: <las...@us...> - 2013-11-27 15:42:22
|
Revision: 535
http://sourceforge.net/p/cgreen/code/535
Author: lastcraft
Date: 2013-11-27 15:42:12 +0000 (Wed, 27 Nov 2013)
Log Message:
-----------
Mac OSX 10.9 doesn't seem to zero the wait status when returning from wait(3)
Modified Paths:
--------------
trunk/cgreen/src/posix_runner_platform.c
Modified: trunk/cgreen/src/posix_runner_platform.c
===================================================================
--- trunk/cgreen/src/posix_runner_platform.c 2013-11-19 22:11:41 UTC (rev 534)
+++ trunk/cgreen/src/posix_runner_platform.c 2013-11-27 15:42:12 UTC (rev 535)
@@ -56,7 +56,7 @@
}
static int wait_for_child_process() {
- int status;
+ int status = 0;
ignore_ctrl_c();
wait(&status);
allow_ctrl_c();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|