Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170119 - net-print/cups - cupstestppd chokes on de_DE locale
Summary: net-print/cups - cupstestppd chokes on de_DE locale
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-09 14:29 UTC by Ernst Bachmann
Modified: 2007-03-09 19:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst Bachmann 2007-03-09 14:29:23 UTC
cupstestppd seems to incorrectly take the Locale settings into account when reading a ppd file, trying to use the decimal separator when parsing the version nr.
(Version in PPD File is "4.3", with LANG="de_DE.UTF-8", cupstestppd parses it as "4.0")
My guess is that it tires to use ',' as seperator, as defined in the german locale.

Reproducible: Always

Steps to Reproduce:
> cupstestppd EPSONPhoto.ppd
> LANG=C cupstestppd EPSONPhoto.ppd
Actual Results:  
> cupstestppd EPSONPhoto.ppd
EPSONPhoto.ppd: BESTANDEN
        WARNUNG    Obsolete PPD Version 4,0!
                REF: Seite 42, Kapitel 5.2.
> LANG=C cupstestppd EPSONPhoto.ppd
EPSONPhoto.ppd: PASS


Expected Results:  
> cupstestppd EPSONPhoto.ppd
EPSONPhoto.ppd: BESTANDEN
> LANG=C cupstestppd EPSONPhoto.ppd
EPSONPhoto.ppd: PASS


Probably an upstream bug.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-09 19:34:31 UTC
(In reply to comment #0)
> Probably an upstream bug.

Indeed...