diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2011-03-31 01:49:14 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2011-03-31 01:49:14 +0000 |
commit | 05fe9c437c27ed21d5f9c36febfaf8c57eec2b6d (patch) | |
tree | c6cd3b8816e93471b32c296c77a405fddf2cdb0c /lib/libsystem.c | |
parent | dd41ff9edf3d07921dbb65301ee82728b33e6626 (diff) | |
download | netpbm-mirror-05fe9c437c27ed21d5f9c36febfaf8c57eec2b6d.tar.gz netpbm-mirror-05fe9c437c27ed21d5f9c36febfaf8c57eec2b6d.tar.xz netpbm-mirror-05fe9c437c27ed21d5f9c36febfaf8c57eec2b6d.zip |
Fix bug: doesn't use Standard Input feeder when you don't supply a Standard Output accepter
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1454 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/libsystem.c')
-rw-r--r-- | lib/libsystem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libsystem.c b/lib/libsystem.c index 3a7440ba..1f445844 100644 --- a/lib/libsystem.c +++ b/lib/libsystem.c @@ -416,7 +416,7 @@ pm_system_vp(const char * const progName, /* Run a child process for the program that sends its Standard Output to our Standard Output */ - spawnProcessor(progName, argArray, STDIN, NULL, &processorPid); + spawnProcessor(progName, argArray, progStdinFd, NULL, &processorPid); } cleanupProcessorProcess(processorPid); |