From owner-cvs-all Mon Feb 12 2: 6:16 2001 Delivered-To: cvs-all@freebsd.org Received: from wint.itfs.nsk.su (wint.itfs.nsk.su [212.20.32.43]) by hub.freebsd.org (Postfix) with ESMTP id C97C037B491 for ; Mon, 12 Feb 2001 02:06:12 -0800 (PST) Received: (from nnd@localhost) by wint.itfs.nsk.su (8.11.2/8.11.1) id f1CA69Z30475; Mon, 12 Feb 2001 16:06:09 +0600 (NOVT) (envelope-from nnd) Date: Mon, 12 Feb 2001 16:06:09 +0600 (NOVT) Message-Id: <200102121006.f1CA69Z30475@wint.itfs.nsk.su> From: nnd@mail.nsk.ru To: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/locale lmessages.c lmonetary.c lnumeric.c In-Reply-To: <200102120856.f1C8ueE34452@freefall.freebsd.org> User-Agent: tin/1.5.8-20010204 ("Paradise Regained") (UNIX) (FreeBSD/5.0-CURRENT (i386)) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <200102120856.f1C8ueE34452@freefall.freebsd.org> you wrote: > > Modified files: > lib/libc/locale lmessages.c lmonetary.c lnumeric.c > Log: > Make comparsions more clear (per style(9)) > At least in 'lmessages.c' the comparison is more than "more clear" - it is clear that it is wrong! After replacing 'ret == 0' with 'ret == -1' I can at last 'setlocale(LC_MESSAGES,"")' for any LANG. Before that it fails for all but "C" and "POSIX" locales. N.Dudorov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message