about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-05-28 01:51:54 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-05-28 01:51:54 +0000
commit62c0606d666e7b5ef9836a30d69cd92e24e5bc8c (patch)
treecef9b0219c096bc997b9ac9c2caeb1e9077785da
parent33f31e45a5efef5c51d300e1a02796900a117511 (diff)
downloadnetpbm-mirror-62c0606d666e7b5ef9836a30d69cd92e24e5bc8c.tar.gz
netpbm-mirror-62c0606d666e7b5ef9836a30d69cd92e24e5bc8c.tar.xz
netpbm-mirror-62c0606d666e7b5ef9836a30d69cd92e24e5bc8c.zip
Fix standard input invocation
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@636 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--converter/ppm/tgatoppm.c2
-rw-r--r--doc/HISTORY2
2 files changed, 3 insertions, 1 deletions
diff --git a/converter/ppm/tgatoppm.c b/converter/ppm/tgatoppm.c
index 19d8b347..da1c3beb 100644
--- a/converter/ppm/tgatoppm.c
+++ b/converter/ppm/tgatoppm.c
@@ -73,7 +73,7 @@ parseCommandLine(int argc, char ** argv,
         /* Uses and sets argc, argv, and some of *cmdlineP and others. */
 
     if (argc - 1 == 0)
-        cmdlineP->input_filename = "=";  /* he wants stdin */
+        cmdlineP->input_filename = "-";  /* he wants stdin */
     else if (argc - 1 == 1)
         cmdlineP->input_filename = strdup(argv[1]);
     else 
diff --git a/doc/HISTORY b/doc/HISTORY
index 1177354f..f53dc2f4 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -30,6 +30,8 @@ not yet  BJH  Release 10.43.00
 
               pbmtogo: fix buffer overrun with too wide image.
 
+              tgatoppm: fix standard input invocation.
+
               ppmd_filledrectangle: fail properly on negative image
               height, width.