[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-dev: Gerbv and strtod
On Thu, May 03, 2007 at 09:41:04PM +0200, Uwe Bonnes wrote:
> Hallo,
>
> trying to run gerbv on a big panel assembled with a recent CADSOFT EAGLE
> (4.16) on Suse 10.2, gerbv 1.0.2 choked on the excellon files. Recent eagle
> excellon files include the tool setup, like
> %
> M48
> T01C0.0360
> Digging deaper, I noticed that strtod in read_double returned NULL. In the
> debugger strtod("0.0360",0) returned 0. Is there any known issue with
> strtod?
>
Are you by chance in a locale in which the decimal point is not "." but
something else like a comma "," for example, which happens to be
the decimal separator for german locale?
Simply put a call to setlocale(LC_NUMERIC, "C") before strtod
and see what happens.
Regards,
Gabriel
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev