Skip to content

gudev: Fix double parsing in locale with , as a decimal separator

Bastien Nocera requested to merge wip/hadess/double-decimal-separator into master

All the functions parsing double values from sysfs were using strtod to parse the values instead of g_ascii_strtod() which forces C locale parsing. All the kernel values use C locale formatted doubles, so use g_ascii_strtod().

Merge request reports