Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2015 20:30:16 +0200
From:      Joerg Sonnenberger <joerg@britannica.bec.de>
To:        svn-src-all@freebsd.org
Subject:   Re: svn commit: r285552 - head/usr.bin/xargs
Message-ID:  <20150719183016.GA11774@britannica.bec.de>
In-Reply-To: <F8B79263-A02C-455A-BB9F-A1ED464140F5@FreeBSD.org>
References:  <201507141916.t6EJGEG1083928@repo.freebsd.org> <48222CD1-7087-4C9A-A586-71F6A37A601C@gmail.com> <55A574BA.4090700@delphij.net> <1436912270.1334.309.camel@freebsd.org> <55A5A30F.4070005@delphij.net> <F8B79263-A02C-455A-BB9F-A1ED464140F5@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 15, 2015 at 10:29:22AM +0100, David Chisnall wrote:
> On 15 Jul 2015, at 01:02, Xin Li <delphij@delphij.net> wrote:
> > 
> > My only concern with strtonum() is that it's English only.
> 
> Given that strtonum() wraps strtoll, it ought to support whatever the current
> locale is (assuming that the program calls setlocale() before calling
> strtonum(), otherwise it will use the C locale[1]).  Or do you mean
> that the error messages are not localised?

The error messages are part of the API and not localised.

Joerg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150719183016.GA11774>