[gs-bugs] [Bug 689846] New: ps2ps does not accept '-' as input from stdin

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Fri May 16 08:21:36 PDT 2008


http://bugs.ghostscript.com/show_bug.cgi?id=689846

           Summary: ps2ps does not accept '-' as input from stdin
           Product: Ghostscript
           Version: 8.62
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P4
         Component: General
        AssignedTo: support at artifex.com
        ReportedBy: ebik at ucw.cz
         QAContact: gs-bugs at ghostscript.com


ps2ps handles '-' parameter wrong way.
Here is thr patch: (one character changed)
--- /usr/bin/ps2ps      2007-09-13 17:13:43.000000000 +0200
+++ ps2ps       2008-05-16 17:19:18.000000000 +0200
@@ -10,7 +10,7 @@
 while true
 do
        case "$1" in
-       -*) OPTIONS="$OPTIONS $1" ;;
+       -?*) OPTIONS="$OPTIONS $1" ;;
        *)  break ;;
        esac
        shift



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list