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
>
On Apr 8 12: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
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
> ---
> winsup/cygwin/fhandler_proc.cc | 11 ---
> 1 file
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
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 insertions(+), 3 deletions(-)
diff --g