Re: [LOW] STR #4124: Xerox Phaser 6000B cups-deviced detection failure

Michael Sweet <[email protected]> Sat, 15 Sep 2012 12:43:46 -0700 (PDT)
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]

Fixed in Subversion repository.

Link: http://www.cups.org/str.php?L4124
Version: 1.5.2
Fix Version: 1.7-current (r10607)

_______________________________________________
cups-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/cups-bugs
str4124.patch (text/plain, 375 B)
Index: cups/backend.c
===================================================================
--- cups/backend.c	(revision 10596)
+++ cups/backend.c	(working copy)
@@ -136,7 +136,7 @@
       if (*s == '\\' || *s == '\"')
 	putchar('\\');
 
-      if (*s == '\n')
+      if (((*s & 255) < ' ' && *s != '\t') || *s == 0x7f)
         putchar(' ');
       else
         putchar(*s);