From 05fe9c437c27ed21d5f9c36febfaf8c57eec2b6d Mon Sep 17 00:00:00 2001 From: giraffedata Date: Thu, 31 Mar 2011 01:49:14 +0000 Subject: 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 --- lib/libsystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libsystem.c') 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); -- cgit 1.4.1