From owner-freebsd-current Fri Mar 2 5:42:59 2001 Delivered-To: freebsd-current@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 8A49637B718; Fri, 2 Mar 2001 05:42:40 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.0/8.11.0) id f22DgRM11069; Fri, 2 Mar 2001 15:42:27 +0200 (EET) (envelope-from ru) Date: Fri, 2 Mar 2001 15:42:27 +0200 From: Ruslan Ermilov To: Andrey Chernov , current@FreeBSD.org Subject: Re: **HEADS UP** essential setlocale(3) fix Message-ID: <20010302154227.A7883@sunbay.com> Mail-Followup-To: Andrey Chernov , current@FreeBSD.org References: <200103021245.f22CjrQ34193@freefall.freebsd.org> <20010302145210.A6392@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010302145210.A6392@sunbay.com>; from ru@FreeBSD.org on Fri, Mar 02, 2001 at 02:52:10PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 02, 2001 at 02:52:10PM +0200, Ruslan Ermilov wrote: [...] > > Testcase: > > > > /usr/bin/env LC_ALL=C LC_TIME=de_DE.ISO_8859-1 /bin/date > > > > Should return date in the "C" locale format. > > I have checked both System V and Linux, they behave correctly. NetBSD and OpenBSD behave like FreeBSD did (incorrectly). I am not checking src/ to see what other fixes are required. The typical fix will be "LC_TIME=C date" -> "LC_ALL=C date", probably preserving the "LC_TIME=C" setting so that the upgrade path from the old system isn't broken. Comments? Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message