Date: Mon, 19 Sep 2016 19:25:02 +0300 From: Andrey Chernov <ache@freebsd.org> To: "Conrad E. Meyer" <cem@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r305981 - head/usr.bin/cmp Message-ID: <d1947578-97b4-9638-4ccc-eab7a84fb6f8@freebsd.org> In-Reply-To: <201609191613.u8JGD0GA036854@repo.freebsd.org> References: <201609191613.u8JGD0GA036854@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d1947578-97b4-9638-4ccc-eab7a84fb6f8>