Show
Ignore:
Timestamp:
06/19/08 10:38:44 (5 years ago)
Author:
khali
Message:

The configuration file is currently parsed in the locale set by the main
program using the library. This means that if the decimal separator
(defined in LC_NUMERIC) is not '.' the values in the compute lines are
truncated. This happens for example with sensors-applet and a French
locale.

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469333

Parsing the configuration file in C locale fixes the problem.
Original patch from Aurelien Jarno. Also closes ticket #2312.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r5285 r5286  
    44SVN-HEAD 
    55  Library: Don't choke on unrecognized devices, part 2 
     6           Parse the configuration file in C locale (#2312) 
    67  Module asb100: Remove some dead code (2.6 backport) 
    78  Module i2c-amd756: Fix functionality flags (2.6 backport)