output rounding bug in vasnprintf %e format implementation

2008-04-18 Thread Ben Pfaff
[This issue arose in examination of bug 22924 against GNU PSPP, which may be viewed at https://savannah.gnu.org/bugs/?22924.] The %e format implemented by gnulib's vasnprintf (when NEED_PRINTF_DOUBLE is defined) does not round properly in all cases. Here is one example: 999.95 printed with %.4e s

Re: fyi, strftime on Windows doesn't support %e

2008-04-18 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simon Josefsson wrote: >>> http://www.opengroup.org/onlinepubs/009695399/functions/strftime.html >>> >>> that specifier was not part of SUS. >> Um, I see it on that page, don't you? > > Yes, so that makes it part of POSIX. Further down on that page,

Re: build problems on old Linux libc5

2008-04-18 Thread Alain Guibert
Hi Bruno, and much thanks for your interest, On Wednesday, April 2, 2008 at 0:07:10 +0200, Bruno Haible wrote: > Thanks for reporting this (although we intend to minimize our efforts for > such extremely old platforms). These efforts are much appreciated, thanks Bruno! > The behaviour change