mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 05:10:16 -05:00
Support multiple thousand separators
This commit is contained in:
parent
f156915125
commit
67086a4f45
2 changed files with 36 additions and 23 deletions
|
|
@ -178,7 +178,12 @@ void os_init(int opt)
|
|||
|
||||
exedir_init();
|
||||
|
||||
/* set LC_ALL=C to make smartctl ignoring the locale when printing info */
|
||||
/*
|
||||
* Set LC_ALL=C to make child ignoring the locale when printing info
|
||||
*
|
||||
* Note anyway that in Windows this trick doesn't work because the
|
||||
* Windows locale is used with priority.
|
||||
*/
|
||||
_wputenv_s(L"LC_ALL", L"C");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue