List Info

Thread: userlevel tools and setlocale(3)




userlevel tools and setlocale(3)
user name
2006-04-28 07:19:09
On Thu, Apr 27, 2006 at 09:53:56PM +0300, Aleksey Cheusov
wrote:
> What do you think about the following patch for nawk?
> With this patch applied, awk will exit with error
> if LANG or LC_ variable are set to incorrect value,

Incorrect locale settings are softerrors, since it is entire
possible
that a single part of a locale is not defined. setlocale()
is
well-behaving in that regard, it falls back to
"C", as if nothing had
happened. Changing this would just push the work to the
user.

Joerg
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )