svn commit: r305981 - head/usr.bin/cmp
Andrey Chernov
ache at freebsd.org
Mon Sep 19 16:25:15 UTC 2016
On 19.09.2016 19:13, Conrad E. Meyer wrote:
> + /*
> + * Cache NLS data, for strerror, for err(3), before entering capability
> + * mode.
> + */
> + (void)catopen("libc", NL_CAT_LOCALE);
This code should be common for all programs which use err(), perror()
etc. since they all should call setlocale() with LC_ALL. If they not do
it, they should be fixed in the same time.
More information about the svn-src-all
mailing list