This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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'


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]