Update of /cvsroot/boost/boost/tools/jam/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28901/src

Modified Files:
      Tag: Boost_Jam_994
        execunix.c 
Log Message:
Fixed missing io dup, for both stderr and stdout.

Index: execunix.c
===================================================================
RCS file: /cvsroot/boost/boost/tools/jam/src/execunix.c,v
retrieving revision 1.10.2.3
retrieving revision 1.10.2.4
diff -u -d -r1.10.2.3 -r1.10.2.4
--- execunix.c  1 Jun 2007 22:56:17 -0000       1.10.2.3
+++ execunix.c  2 Jun 2007 03:38:58 -0000       1.10.2.4
@@ -167,8 +167,9 @@
 
        if ((cmdtab[slot].pid = vfork()) == 0) 
        {
-            close(p[0]);
-            dup2(p[1], STDERR_FILENO);
+        close(p[0]);
+        dup2(p[1], STDERR_FILENO);
+        dup2(p[1], STDOUT_FILENO);
 
            execvp( argv[0], argv );
            _exit(127);


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to