diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2013-11-12 15:22:11 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2013-11-12 15:22:11 +0000 |
commit | fcba27aec24b5bfb48a7e9aa5e395b46e973a00f (patch) | |
tree | 5667ee2cef49821721d23147b506889ce0c3578b /converter/other | |
parent | bd53380a057c8ad9e8118bfd0e2675a4907fc737 (diff) | |
download | netpbm-mirror-fcba27aec24b5bfb48a7e9aa5e395b46e973a00f.tar.gz netpbm-mirror-fcba27aec24b5bfb48a7e9aa5e395b46e973a00f.tar.xz netpbm-mirror-fcba27aec24b5bfb48a7e9aa5e395b46e973a00f.zip |
Keep Standard Error open
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2033 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rw-r--r-- | converter/other/pnmtops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/pnmtops.c b/converter/other/pnmtops.c index 5e7d1563..29326508 100644 --- a/converter/other/pnmtops.c +++ b/converter/other/pnmtops.c @@ -2041,7 +2041,7 @@ main(int argc, const char * argv[]) { that new files will get file descriptor numbers less than 10, so we close superfluous files now to make sure that's true. */ - closeAllBut(fileno(ifP), fileno(stdout), fileno(stdout)); + closeAllBut(fileno(ifP), fileno(stdout), fileno(stderr)); { int eof; /* There are no more images in the input file */ |