PATCH: XFAIL 14220 for Solaris 2.10

Joe Buck Joe.Buck@synopsys.COM
Mon May 7 19:04:00 GMT 2007


On Mon, May 07, 2007 at 11:22:13AM -0700, Mark Mitchell wrote:
> 
> These two tests fail on Solaris 2.10 because of a bug in the Solaris C
> library; calling:
> 
>    sprintf (buffer, "%.*f", 1000, 1.0)
> 
> crashes.

To elaborate on my previous report for Solaris 8: no crash, but

sprintf (buffer, "%.*f", n, 1.0);

returns the correct result (for a long enough buffer) for n <= 510;
for n > 510, it generates 0.00000 ..., not 1.00000 ...



More information about the Libstdc++ mailing list