[cups.bugs] [LOW] STR #3082: cupsGetNamedDest() fails if lpoptions has incorrect default

twaugh.redhat twaugh at redhat.com
Fri Jan 30 04:39:47 PST 2009


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

[STR New]

cupsGetNamedDest(NULL,NULL,NULL) will return NULL if a server default is
set but an lpoptions file or environment variable claims a non-existent
printer is the default.

In cupsGetDests2() there is code to fall back to an existing default
printer.  Here is a patch to do the same for cupsGetNamedDest().

Link: http://www.cups.org/str.php?L3082
Version: 1.4b2
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fixed-cupsGetNamedDest-behaviour-when-lpoptions-ha.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20090130/292f868f/attachment.ksh>


More information about the cups mailing list