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 <[EMAIL PROTECTED]>

        * 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];


Reply via email to