Commit graph

17 commits

Author SHA1 Message Date
Daniel Stenberg
1a29cfb23e Initial gcc4 warning cleanup (and some minor policing)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8063 a1c6a512-1295-4272-9138-f99709370657
2005-11-25 00:10:12 +00:00
Jean-Philippe Bernardy
fc19445ba0 more long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6065 a1c6a512-1295-4272-9138-f99709370657
2005-02-25 18:50:16 +00:00
Daniel Stenberg
22b7701fe7 Build cleanup and general fixes. fprintf() is now fdprintf(), the separation
between uisimulator files and firmware/apps files are better done.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:19:12 +00:00
Jens Arnold
81d4b8c492 TABs removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5645 a1c6a512-1295-4272-9138-f99709370657
2005-01-24 00:56:39 +00:00
Jean-Philippe Bernardy
fc0372b209 Support for %l* plus __attribute__ printf support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5641 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 23:08:07 +00:00
Jens Arnold
4f7956c206 (v)snprintf() wrote past buffer end if string length was equal to buffer size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4549 a1c6a512-1295-4272-9138-f99709370657
2004-04-22 21:19:33 +00:00
Linus Nielsen Feltzing
d9a2ef49d6 Fixed bad %x handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3695 a1c6a512-1295-4272-9138-f99709370657
2003-05-24 00:19:27 +00:00
Daniel Stenberg
2723531ff3 remove the ifdef for simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3616 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 13:35:31 +00:00
Daniel Stenberg
012d1f86cc use size_t and not int as the prototype says so
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3614 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 12:43:44 +00:00
Daniel Stenberg
ed155ccc39 include the sprintf.h header, basicly for simulator purposes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3612 a1c6a512-1295-4272-9138-f99709370657
2003-04-25 12:36:52 +00:00
Daniel Stenberg
73b427a743 kill warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3455 a1c6a512-1295-4272-9138-f99709370657
2003-03-16 22:35:30 +00:00
Daniel Stenberg
3f27f7d82c only do the fprintf() if not doing a simulator, since this file is used
for the win32 simulator and the fprintf() of Rockbox differs slightly from
how the true POSIX one is (the first argument).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3452 a1c6a512-1295-4272-9138-f99709370657
2003-03-16 21:42:22 +00:00
Daniel Stenberg
758a2c823a introducing fprintf():
int fprintf(int fd, const char *fmt, ...)

Returns number of bytes written to the file descriptor.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3450 a1c6a512-1295-4272-9138-f99709370657
2003-03-16 19:43:28 +00:00
Daniel Stenberg
af341158db bad bad bad snprintf() overflow the buffer if the string passed in with a
%s didn't fit within the buffer!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1943 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 08:29:44 +00:00
Björn Stenberg
07b5ada0c6 Revert last change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@381 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 12:19:41 +00:00
Björn Stenberg
1244dd7d18 Added support for %%
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@380 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 12:16:51 +00:00
Björn Stenberg
824a003052 Added Gary's snprintf() and changed all places to use it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@379 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 11:44:15 +00:00