From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21339 invoked from network); 10 Nov 1999 17:32:13 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Nov 1999 17:32:13 -0000 Received: (qmail 22883 invoked by alias); 10 Nov 1999 17:32:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8613 Received: (qmail 22876 invoked from network); 10 Nov 1999 17:32:07 -0000 From: "Bart Schaefer" Message-Id: <991110173119.ZM17681@candle.brasslantern.com> Date: Wed, 10 Nov 1999 17:31:19 +0000 In-Reply-To: <19991110121135.A19502@dman.com> Comments: In reply to Clint Adams "PATCH: math i18n" (Nov 10, 12:11pm) References: <19991110121135.A19502@dman.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Clint Adams , zsh-workers@sunsite.auc.dk Subject: Re: PATCH: math i18n MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Nov 10, 12:11pm, Clint Adams wrote: } Subject: PATCH: math i18n } } This patch fixes the problem basically by allowing locale } to switch the meanings of '.' and ','. Because I'm an } ignorant American, I have no idea what this breaks. It breaks the comma operator, which is the C-style sequential expression evaluation operator. That is, $((a=1,2)) should mean "assign 1 to `a' and return the value 2" and not "assign 1.2 to `a'". I recommend that we either don't use strtod(), or find a way to force it to use the C locale, rather than mess around with the shell syntax. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com