Re: [LOW] STR #4028: commandtops not robust against broken PostScript in PPD file

Michael Sweet <[email protected]>
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Closed w/Resolution]

Attached file "str4028p5.patch"...

Link: http://www.cups.org/str.php?L4028
Version: 1.5.2
Fix Version: 1.6-current (r10344)

_______________________________________________
cups-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/cups-bugs
str4028p5.patch (text/plain, 620 B)
Index: filter/commandtops.c
===================================================================
--- filter/commandtops.c	(revision 10371)
+++ filter/commandtops.c	(working copy)
@@ -387,7 +387,6 @@
       * Write out the result and move on to the next option...
       */
 
-      fprintf(stderr, "DEBUG: Default%s=%s\n", option->keyword, buffer);
       fprintf(stderr, "PPD: Default%s=%s\n", option->keyword, buffer);
       break;
     }
@@ -420,7 +419,7 @@
     _cupsLangPrintFilter(stderr, "WARNING",
                          _("Unable to configure printer options."));
 
-  return (status);
+  return (0);
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.