[cups.bugs] [CRIT] STR #2541: CUPSDDK 1.2.0: ppdc freezes while generating globalized PPD files.

Dmitry Sharov dsharov at mackiev.com
Sun Sep 30 08:04:24 PDT 2007


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

ppdc freezes while generating globalized PPD files.
Suggested fix (basing on revision 360):
Index: ppdc/ppdc-driver.cxx
===================================================================
--- ppdc/ppdc-driver.cxx	(revision 360)
+++ ppdc/ppdc-driver.cxx	(working copy)
@@ -1147,7 +1147,7 @@
       }
 
       // Finally the localizable attributes...
-      for (a = (ppdcAttr *)attrs->first(); a; (ppdcAttr *)attrs->next())
+      for (a = (ppdcAttr *)attrs->first(); a; a=(ppdcAttr
*)attrs->next())
       {
         if (!a->text || !a->text->value || !a->text->value[0])
 	  continue;

Link: http://www.cups.org/str.php?L2541
Version: 1.2-current





More information about the cups-devel mailing list