This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/958] strtoll is broken (truncates to 32 bits)
- From: "jakub at redhat dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 19 May 2005 14:55:29 -0000
- Subject: [Bug libc/958] strtoll is broken (truncates to 32 bits)
- References: <20050519141142.958.bugs@chen-becker.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From jakub at redhat dot com 2005-05-19 14:55 -------
It is not broken, you should just learn how to use -Wall to find bugs in your
testcases. strtoll is prototyped in stdlib.h, see
http://www.opengroup.org/onlinepubs/009695399/functions/strtoll.html
and printf in stdio.h, see
http://www.opengroup.org/onlinepubs/009695399/functions/fprintf.html
while you are including just unistd.h (which actually is not needed at all).
implicitly prototyped functions return int, see the C standard.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sources.redhat.com/bugzilla/show_bug.cgi?id=958
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.