[PATCH] Avoid decimal point localization in /proc/loadavg
Jon Turney
jon.turney@dronecode.org.uk
Sat Apr 8 16:42:00 GMT 2017
On 08/04/2017 17:18, cyg Simple wrote:
> 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?
I'm pretty sure that the content of /proc/loadavg should not be
localized (it isn't on linux), so my commentary is incomplete and should
say something like 'Using anything other than '.' is wrong, and breaks top'
More information about the Cygwin-apps
mailing list