From owner-freebsd-current Mon Mar 17 14: 8:23 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0520537B401; Mon, 17 Mar 2003 14:08:21 -0800 (PST) Received: from HAL9000.homeunix.com (12-233-57-224.client.attbi.com [12.233.57.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1394843F85; Mon, 17 Mar 2003 14:08:20 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id h2HM8Jnl008666; Mon, 17 Mar 2003 14:08:19 -0800 (PST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id h2HM8Hen008665; Mon, 17 Mar 2003 14:08:17 -0800 (PST) (envelope-from das@FreeBSD.ORG) Date: Mon, 17 Mar 2003 14:08:17 -0800 From: David Schultz To: Franz Klammer Cc: current@FreeBSD.ORG, ru@FreeBSD.ORG Subject: Re: .2 isn't a valid double and other problems Message-ID: <20030317220817.GA6894@HAL9000.homeunix.com> Mail-Followup-To: Franz Klammer , current@FreeBSD.ORG, ru@freebsd.org References: <1047922773.9305.30.camel@ds9.webonaut.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1047922773.9305.30.camel@ds9.webonaut.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Franz Klammer : > cvsup and build (kernel + userland, empty /usr/obj): > FreeBSD ds9.webonaut.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Mar 16 > 17:53:22 CET 2003 root@ds9.webonaut.com:/usr/obj/usr/src/sys/DS9 i386 > > > since my update from yesterday (above), fontconfig can't read his > configuration file. it claims the .2 isn't a valid double. > (line 228 of fonts.conf) > > metacity seems can't also not correct read his config if numbers > like 0.7 used. > > there are also problems with script-fu from gimp-devel wich cause > a segfault: > > ... many similar line like the blow deletet ... > gimp-1.3: Corrupt segment 1 in gradient file > '/usr/X11R6/share/gimp/gradients/Yellow_Orange.ggr'. > > (gimp-1.3:58219): Gimp-Core-WARNING **: (): no matching segment for > position 0,066666666666667 > gimp-1.3: fatal error: Segmentation fault You're using a locale in which the decimal point character is a comma. The breakage is my fault. I'm waiting to hear back from the vendor about a (trivial) patch, but I may just check the fix in sooner anyway. For the moment, please use the following: Index: gdtoaimp.h =================================================================== RCS file: /cvs/src/contrib/gdtoa/gdtoaimp.h,v retrieving revision 1.2 diff -u -r1.2 contrib/gdtoa/gdtoaimp.h --- gdtoaimp.h 12 Mar 2003 20:20:22 -0000 1.2 +++ gdtoaimp.h 15 Mar 2003 23:14:12 -0000 @@ -203,6 +203,7 @@ #endif #define INFNAN_CHECK +#define USE_LOCALE #undef IEEE_Arith #undef Avoid_Underflow Index: contrib/gdtoa/strtodg.c =================================================================== RCS file: /cvs/src/contrib/gdtoa/strtodg.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 strtodg.c --- contrib/gdtoa/strtodg.c 12 Mar 2003 20:18:18 -0000 1.1.1.1 +++ contrib/gdtoa/strtodg.c 16 Mar 2003 00:27:41 -0000 @@ -337,6 +337,9 @@ int j, k, nbits, nd, nd0, nf, nz, nz0, rd, rvbits, rve, rve1, sign; int sudden_underflow; CONST char *s, *s0, *s1; +#ifdef USE_LOCALE + CONST char *s2; +#endif double adj, adj0, rv, tol; Long L; ULong y, z; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message