Date: Sat, 3 Aug 2002 02:04:44 -0700 (PDT) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/locale setlocale.c Message-ID: <200208030904.g7394irV020456@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2002/08/03 02:04:44 PDT Modified files: lib/libc/locale setlocale.c Log: 1) Use errno to indicate faulure reason. 2) Move incomplete check for / in locale name from env section to loadlocale(), add check for "." and ".." too. It allows to check any argument, not env only. 3) Redesing LOAD_CATEGORY macro to eliminate code duplication. 4) Try harder in fallback code: if old locale can't be restored, load "C" locale 5) White space formatting, long lines, etc. Revision Changes Path 1.37 +91 -46 src/lib/libc/locale/setlocale.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208030904.g7394irV020456>