[cups.bugs] [HIGH] STR #2098: lpstat still broken when printer instances defined
splite
splite-cups at sigint.cs.purdue.edu
Mon Nov 13 13:39:57 PST 2006
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE
LINK BELOW.
[STR New]
The fix to STR #2073 in 1.2.6 is itself broken, again causing infinite
output from lpstat -l -p when printer instances are defined.
--- systemv/lpstat.c.orig 2006-11-02 15:01:54.000000000 -0500
+++ systemv/lpstat.c 2006-11-13 16:35:50.000000000 -0500
@@ -2038,7 +2038,7 @@
if (reasons)
{
_cupsLangPuts(stdout, _("\tAlerts:"));
- for (j = 0; j < reasons->num_values; i ++)
+ for (j = 0; j < reasons->num_values; j ++)
_cupsLangPrintf(stdout, " %s",
reasons->values[j].string.text);
_cupsLangPuts(stdout, "\n");
Link: http://www.cups.org/str.php?L2098
Version: 1.2.6
More information about the cups-devel
mailing list