bug-gnulib
[Top][All Lists]
Advanced

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

Re: another platform *printf bug


From: Eric Blake
Subject: Re: another platform *printf bug
Date: Wed, 11 Apr 2007 21:39:26 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

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

According to Bruno Haible on 4/11/2007 5:48 PM:
> Can you please test this patch? Already in CVS without testing; I rely on you.
> 
> Bruno
> 
> 2007-04-11  Bruno Haible  <address@hidden>
> 
>       * lib/vasnprintf.c (VASNPRINTF): Implement the %F directive using the
>       %f directive, if NEED_PRINTF_DIRECTIVE_F is defined.

It correctly detected the %F bugs in cygwin 1.5.24.  However,

gnulib-tool --with-tests --test printf-posix

still failed with:

9,10d8
<        inf 33
<        nan 33
FAIL: test-printf-posix.sh

It looks like cygwin has the same %010f bug as BSD; I'll add that to my
list of newlib *printf improvements to make for cygwin 1.7.0:

$ printf '%010f\n' inf
0000000inf

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

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

iD8DBQFGHanu84KuGfSFAYARAqdkAKDKwpMjzV2qzy7Sn3oU44TJAO0aCQCg0DMd
WjX57ioGwljh3lyVvmcw8xk=
=TsiS
-----END PGP SIGNATURE-----




reply via email to

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