[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug #220657: Reassign to xlibs-static-dev? Easy fix

Hello dear developers, 

this i18n bug should be a trivial fix. 

However, looking at the code, it seems an issue of libxf86config, as
mgapdesk calls xf86writeConfigFile().

libxf86config is part of the package xlibs-static-dev. This library
surprisingly isn't beware of incompatible locales. IMO it should enforce
a conforming locale/LC_NUMERIC for its fprintf() calls.

doWriteConfigFile() in the parser's write.c seems the right point to fix

How to reproduce:
For example, LC_NUMERIC=de_DE triggers the bug: the floats are written
with commas, which invalidates the configuration file.


Reply to: