stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r431386 - /incubator/stdcxx/trunk/util/exec.cpp
Date Mon, 14 Aug 2006 17:41:28 GMT
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 <ablack@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];



Mime
View raw message