You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2006/08/14 19:41:28 UTC

svn commit: r431386 - /incubator/stdcxx/trunk/util/exec.cpp

Author: sebor
Date: Mon Aug 14 10:41:27 2006
New Revision: 431386

URL: http://svn.apache.org/viewvc?rev=431386&view=rev
Log:
2006-08-14  Andrew Black <ab...@roguewave.com>

	* exec.cpp (wait_for_child): Corrected mistake in kill()
	call to kill child process group rather than child process.

Modified:
    incubator/stdcxx/trunk/util/exec.cpp

Modified: incubator/stdcxx/trunk/util/exec.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/exec.cpp?rev=431386&r1=431385&r2=431386&view=diff
==============================================================================
--- incubator/stdcxx/trunk/util/exec.cpp (original)
+++ incubator/stdcxx/trunk/util/exec.cpp Mon Aug 14 10:41:27 2006
@@ -458,7 +458,7 @@
                 }
 
                 /* ignore kill errors (perhaps should record them)*/
-                (void)kill (child_pid, signals [siginx]);
+                (void)kill (-child_pid, signals [siginx]);
 
                 /* Record the signal used*/
                 state.killed = signals [siginx];