It appears that when libxf86config writes out the config file, it 
is affected by the current LC_NUMERIC setting of the locale in 
use.  Our config tool uses libxf86config and when the config file 
is written in any of the locales "de_DE", "de_DE.UTF-8", "ro_RO", 
"ro_RO.UTF-8", the following gets written to the config file for 
the monitor section:

HorizSync    30,0 - 86,0
VertRefresh  50,0 - 180,0

I've tried to reproduce this with xf86cfg as well, and am unable
to reproduce it.  I'm guessing that xf86cfg must change the
locale to C or something prior to writing the file perhaps. I've
examined the sources of the library itself, but not xf86cfg yet.

Should our tool be doing this itself, or should the libxf86config
library be handling it?

Since the config file will be invalid if written out with 
LC_NUMERIC being interpreted, I believe that the library should 
itself be setting the locale to "C" prior to writing the config 
file perhaps.

Again, I haven't investigated this very deeply, just a quick look 
at the code, so it's possible I'm missing something obvious.  
Nonetheless I thought I'd ask for input before digging into the 
problem deeper.

Thanks in advance.


-- 
Mike A. Harris


_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to