gnu-library: string-handling error ?

Magnus Myrefors myrefors.magnus@telia.com
Mon Apr 24 22:45:00 GMT 2006


Hi,

I did choose this way to report since the gcc-compiler doesn't crash
but produces code that handles strings in a peculiar way. 
So there might be something wrong in one of the c-libraries.
I have attached a file with the code and some output.

I also noticed some peculiar output when I tried to concat
the string returned from floatTimeToString():
    sprintf(string, "Yellow color: 0 .. %s", floatTimeToString());
The runtime error here was segmentation error.  

regards,  Magnus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Peculiar stringhandling results.
Type: text/x-csrc
Size: 1419 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20060424/b8380d7d/attachment.bin>


More information about the Gcc-bugs mailing list