]> git.saurik.com Git - bison.git/commitdiff
New function end_of_output_subpipe() added to allow support
authorJuan Manuel Guerrero <juan.guerrero@gmx.de>
Sun, 2 Oct 2005 16:59:31 +0000 (16:59 +0000)
committerJuan Manuel Guerrero <juan.guerrero@gmx.de>
Sun, 2 Oct 2005 16:59:31 +0000 (16:59 +0000)
for non-posix systems. This is a no-op function for posix systems.

lib/subpipe.c
lib/subpipe.h

index 7f8e44f2a1a351280a8d27c320eb4f63ceb6d9af..4eee4a0f98f005734f1056c262e93e97a167bf13 100644 (file)
@@ -166,3 +166,8 @@ reap_subpipe (pid_t pid, char const *program)
     }
 #endif
 }
+
+void
+end_of_output_subpipe (pid_t pid, int fd[2])
+{
+}
index 7b76bdae41071870f7952e615109cb6a8fcfe49d..8925823d8c15882aa8b810b8c28098bbccd24280 100644 (file)
@@ -27,4 +27,5 @@
 
 void init_subpipe (void);
 pid_t create_subpipe (char const * const *, int[2]);
+void end_of_output_subpipe (pid_t, int[2]);
 void reap_subpipe (pid_t, char const *);