This is the mail archive of the cygwin-patches 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 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 be locale aware?

Not that it hurts to tweak top, but the linux kernel prints this with
decimal points independently of the locale of the current user, too.  


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature


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