Re: [PATCH] Avoid decimal point localization in /proc/loadavg

2017-05-12 Thread Brian Inglis
Also affects uptime - and anything else using /proc/loadavg https://cygwin.com/ml/cygwin/2017-05/msg00190.html Subject: $ uptime: bad data in /proc/loadavg On 2017-05-12 20:44, Andrey Repin wrote: > Greetings, All! > Just a few days ago it worked, but now > $ uptime > bad data in /proc/loadavg >

Re: [PATCH] Avoid decimal point localization in /proc/loadavg

2017-04-10 Thread Corinna Vinschen
On Apr 8 13:55, Jon Turney wrote: > Explicitly format the contents of /proc/loadavg to avoid the decimal point > getting localized according to LC_NUMERIC. Using anything other than '.' > breaks top. > > Signed-off-by: Jon Turney > --- >

Re: [PATCH] Avoid decimal point localization in /proc/loadavg

2017-04-08 Thread cyg Simple
On 4/8/2017 8:55 AM, Jon Turney wrote: > Explicitly format the contents of /proc/loadavg to avoid the decimal point > getting localized according to LC_NUMERIC. Using anything other than '.' > breaks top. > Would it be more prudent to update top to be locale aware? -- cyg Simple

[PATCH] Avoid decimal point localization in /proc/loadavg

2017-04-08 Thread Jon Turney
Explicitly format the contents of /proc/loadavg to avoid the decimal point getting localized according to LC_NUMERIC. Using anything other than '.' breaks top. Signed-off-by: Jon Turney --- winsup/cygwin/fhandler_proc.cc | 11 --- 1 file changed, 8