summaryrefslogtreecommitdiff
path: root/src/roff/groff/pipeline.c
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-10-15 05:27:19 +0000
committerwlemb <wlemb>2003-10-15 05:27:19 +0000
commit48d11a2ff13f1bc894d5b56a1aee6799b8697cd0 (patch)
tree33a3c6956f4d3f8cffa4c39016bfaf954c09160a /src/roff/groff/pipeline.c
parenta438ede31d52463c67a716213c6303bde53e76e3 (diff)
downloadgroff-48d11a2ff13f1bc894d5b56a1aee6799b8697cd0.tar.gz
* aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.
(GROFF_LIBC): New function. * configure.ac: Call GROFF_LIBC. Check for `kill'. * configure: Regenerated. * src/include/lib.h: Handle __MINGW32__. * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__. Add macro for `pipe'. Define P_tmpdir. * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe' correctly. * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]: Implement.
Diffstat (limited to 'src/roff/groff/pipeline.c')
-rw-r--r--src/roff/groff/pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roff/groff/pipeline.c b/src/roff/groff/pipeline.c
index a2db14bc..ed6c17ee 100644
--- a/src/roff/groff/pipeline.c
+++ b/src/roff/groff/pipeline.c
@@ -321,7 +321,7 @@ run_pipeline(int ncommands, char ***commands, int no_pipe)
int exit_status;
RETSIGTYPE (*prev_handler)(int);
- if (i) {
+ if (i && !no_pipe) {
/* redirect stdin from temp file */
f = open(tmpfiles[infile], O_RDONLY|O_BINARY, 0666);
if (f < 0)