[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HP-UX 10.20 format failure (was: snapshot 3 in preparation for 1.4.1
From: |
Bruno Haible |
Subject: |
Re: HP-UX 10.20 format failure (was: snapshot 3 in preparation for 1.4.13) |
Date: |
Wed, 25 Feb 2009 13:14:19 +0100 |
User-agent: |
KMail/1.9.9 |
Gary V. Vaughan wrote:
> All pass except this one:
>
> ...
> cc -I. -I../lib -I. -I. -I.. -I./.. -I../lib -I./../lib -I../intl
> +O2 -Ae -z +Ofltacc +ESlit +DAportable +Oentrysched +Odataprefetch
> +Onolimit -c test-vasprintf-posix.c
> test-vasprintf-posix.c:2804: assertion failed
> FAIL: test-vasprintf-posix
This is unrelated to strtod and HUGE_VAL. But can you show the results of
$ grep NEED config.h
and of running this program?
======================== printf-minus-zero.c ====================
#include <stdio.h>
double zerod = 0.0;
int main ()
{
char buf[100];
int ret = sprintf (buf, "%g %d", -zerod, 33, 44, 55);
printf ("%d\n%s\n", ret, buf);
return 0;
}
=================================================================
Expected output is:
5
-0 33
Bruno
HP-UX 10.20 format failure (was: snapshot 3 in preparation for 1.4.13), Eric Blake, 2009/02/24
Re: snapshot 3 in preparation for 1.4.13, Tom G. Christensen, 2009/02/24