This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/958] strtoll is broken (truncates to 32 bits)


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]