bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: snapshot in preparation for m4 1.4.12


From: Eric Blake
Subject: Re: snapshot in preparation for m4 1.4.12
Date: Sat, 13 Sep 2008 07:11:00 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Tom G. Christensen on 8/9/2008 6:41 AM:
> 
> On Irix 6.2 I also see problems in gnulib:

> test-vasprintf-posix.c:1338: assertion failed
> /bin/ksh[10]: 14207 Abort(coredump)
> FAIL: test-vasprintf-posix
> 
> The vasprintf-posix problem is still the loss of the '-' sign.
> Attempts to find a solution seems to have stalled after my post here:
> http://lists.gnu.org/archive/html/bug-gnulib/2008-04/msg00195.html

Tom has (graciously) allowed me access to his Irix 5.3 system to attempt
to address this.  On that platform, 'long double' and 'double' are
identical types.  The test ends up calling sprintf(tmp, "%Ld", -0.0L), but
the system sprintf does not know how to print -0, so the result is
0.000000 and lacks -.  Does it make more sense to adjust the existing
gl_PRINTF_INFINITE_LONG_DOUBLE (which also tests for NaN) to add a test
for negative zero, or to add a new macro gl_PRINTF_ZERO_LONG_DOUBLE?  I
can probably do most of the work, since I can test it on the Irix box, but
would like to make sure that I'm meeting your preferred style.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjLu+QACgkQ84KuGfSFAYAY4ACg2A01NBbzDaJg496BJqBoSYNp
L+EAn2wh16GV/+rKO1cvfKUNMM4oxPKe
=0LNq
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]