[cups.bugs] [LOW] STR #4134: lpadmin -v doesn't convert /file to file:///file

Jiri Popelka jpopelka at redhat.com
Mon Jul 2 05:59:25 PDT 2012


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

[STR New]

Hi,

lpadmin(8) states that:

-v "device-uri"
  If device-uri is a filename it is automatically converted to the form
file:///file/name.

but this has no longer been true since r9244 (fix for STR #3613).

You should either return the
  if (device[0] == '/')
    snprintf(uri, sizeof(uri), "file://%s", device);

or remove the note in lpadmin(8).

--
Jiri

Link: http://www.cups.org/str.php?L4134
Version: 1.5.3





More information about the cups-devel mailing list