diff options
-rw-r--r-- | doc/HISTORY | 3 | ||||
-rw-r--r-- | other/pambayer.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/HISTORY b/doc/HISTORY index a868d221..0e5a95e6 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -23,6 +23,9 @@ not yet BJH Release 10.48.00 pamsumm: fix syntax error message. + pambayer: fix unconditional crash/failure when you aren't using + Standard Input. + Add pbmtocis, cistopbm. Thanks John Elliott <jce@seasip.demon.co.uk>. diff --git a/other/pambayer.c b/other/pambayer.c index b4eaae75..f8ce0db8 100644 --- a/other/pambayer.c +++ b/other/pambayer.c @@ -80,6 +80,8 @@ parseCommandLine(int argc, char ** argv, else if (argc-1 > 1) pm_error("There is at most one argument -- the input file. " "You specified %u", argc-1); + else + cmdlineP->inputFilespec = argv[1]; if (!typeSpec) pm_error("You must specify the -type option"); |