mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 17:23:02 +00:00
(output_skeleton): Use end_of_output_subpipe() to handle
the lack of pipe/fork functionality on non-posix systems.
This commit is contained in:
@@ -577,6 +577,7 @@ output_skeleton (void)
|
|||||||
|
|
||||||
/* Read and process m4's output. */
|
/* Read and process m4's output. */
|
||||||
timevar_push (TV_M4);
|
timevar_push (TV_M4);
|
||||||
|
end_of_output_subpipe (pid, filter_fd);
|
||||||
in = fdopen (filter_fd[1], "r");
|
in = fdopen (filter_fd[1], "r");
|
||||||
if (! in)
|
if (! in)
|
||||||
error (EXIT_FAILURE, get_errno (),
|
error (EXIT_FAILURE, get_errno (),
|
||||||
|
|||||||
Reference in New Issue
Block a user