bug-gnulib
[Top][All Lists]
Advanced

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

Re: strtod on HP-UX 11


From: Eric Blake
Subject: Re: strtod on HP-UX 11
Date: Mon, 03 Jan 2011 08:08:10 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 12/31/2010 06:58 PM, Bruno Haible wrote:
> Hi Eric,
> 
> On HP-UX 11.11 and 11.31 I see this test failure:
> 
>   test-strtod.c:588: assertion failed
> 
> and when this one is fixed:
> 
>   test-strtod.c:652: assertion failed
> 
> The reason is that the system's strtod function, when parsing infinity or
> nan, clobbers errno. (In fact, the test in m4/strtod.m4 fails with exit code
> 120 = 64 | 32 | 16 | 8.)
> 
> This fixes it for me. OK to commit?

Yes, and thanks for tracking it down.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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