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
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