www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2011/09/23/14:52:07

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Fri, 23 Sep 2011 19:09:07 -0700
From: Andrew Poelstra <asp11 AT sfu DOT ca>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Re: gEDA-user: PCB 20110918 Released
Message-ID: <20110924020907.GA13853@malakian.lan>
References: <201109182328 DOT p8INSaF8025126 AT envy DOT delorie DOT com>
<1316785282 DOT 3034 DOT 20 DOT camel AT zordi2>
<20110924013147 DOT GA13806 AT malakian DOT lan>
MIME-Version: 1.0
In-Reply-To: <20110924013147.GA13806@malakian.lan>
User-Agent: Mutt/1.5.20 (2009-12-10)
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, Sep 23, 2011 at 06:31:47PM -0700, Andrew Poelstra wrote:
> On Fri, Sep 23, 2011 at 03:41:22PM +0200, joel silvestre wrote:
> > 
> > looks like there is a problem with french localization and decimal
> > separator when saving or loading a PCB file. Once saved files cannot be
> > opened again:
> > 
> > ~$ /usr/local/bin/pcb-lesstif Bureau/test1.pcb 
> > ERROR parsing file 'Bureau/test1.pcb'
> >     line:        8
> >     description: 'syntax error, unexpected $undefined, expecting
> > FLOATING or INTEGER'
> > 
> > Line 8 is Grid[1000,0 0 0 0]
> > 
> > Replacing 1000,0 with 1000.0 makes PCB happy until the next file save.
> > As far as I can see, this problem seem's to affect only this line.
> >
> 
> This is a bug in pcb-printf. It should be using '.' as a separator
> regardless of locale, when passed the %mr specifier.
>

Should be fixed now. pcb-printf has a bunch of special-casing for the pcb
file output, most of which is disabled because old versions of pcb would
not be able to read the files.

Turns out we were disabling too much -- we do want to force '.' as a
decimal separator.

-- 
Andrew Poelstra
Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net
Web:   http://www.wpsoftware.net/andrew

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019