On 09/02/2010 09:35 AM, Tom G. Christensen wrote:
On Wed, Sep 01, 2010 at 09:49:58PM -0600, Eric Blake wrote:
IRIX mis-parses "1e 1" as 10.0 and "" instead of 1.0 and "e 1".
Because the original parse may differ from the reparse in terms
of whether the value overflows, we have to do an errno dance.

* lib/strtod.c (strtod): Reparse number on shorter string if
exponent parse was invalid.
Reported by Tom G. Christensen.

Signed-off-by: Eric Blake<ebl...@redhat.com>
---

I applied this on top of a fresh gnulib checkout and unfortunately the
test still fails in the same place.

:( Well, thanks for the feedback. I guess it's time for me to get inside a debugger and simulate the actual IRIX failure, rather than just relying on successful compilation. I'll post another attempt soon.

--
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to