I'm not sure if Pavel is on this list so adding him explicitly.

Looks like there's a strong risk that no version of the spawn patch will
get into 4.0 which would be a shame IMHO.

-David


On Tue, Sep 24, 2013 at 7:37 AM, Frank Heckenbach
<f.heckenb...@fh-soft.de>wrote:

> Try this patch. I don't use EMX myself, but I noticed this when
> reading through the lastest changes, and it seems to fit your bug
> description.
>
> --- function.c.orig     2013-09-22 07:53:27.000000000 +0200
> +++ function.c  2013-09-24 16:21:37.000000000 +0200
> @@ -1710,7 +1710,7 @@
>    CLOSE_ON_EXEC(pipedes[1]);
>    CLOSE_ON_EXEC(pipedes[0]);
>    /* Never use fork()/exec() here! Use spawn() instead in exec_command()
> */
> -  pid = child_execute_job (FD_STDIN, pipedes[1], FD_STDOUT, command_argv,
> envp);
> +  pid = child_execute_job (FD_STDIN, pipedes[1], FD_STDERR, command_argv,
> envp);
>    if (pid < 0)
>      perror_with_name (error_prefix, "spawn");
>  # else /* ! __EMX__ */
>
> _______________________________________________
> Bug-make mailing list
> Bug-make@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-make
>
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to