Commit Graph

27 Commits

Author SHA1 Message Date
Assar Westerlund
d459c4ecb3 remove shoot-by-commit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 14:22:59 +00:00
Assar Westerlund
5515fde49a merge roken independence stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 14:22:12 +00:00
Assar Westerlund
3b19f20311 (PARSE_INT_FORMAT): note that shorts are actually transmitted as ints
(according to the integer protomotion rules) in variable arguments
lists.  Therefore, we should not call va_arg with short but rather
with int.  See <http://www.debian.org/Bugs/db/57/57919.html> for
original bug report


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-16 01:38:52 +00:00
Johan Danielsson
3ca5f8150f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Assar Westerlund
a69f4cf6dc signedness
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7376 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-13 04:18:09 +00:00
Assar Westerlund
d9ebc322c1 (xyzprintf): try to do the right thing with an % at the end of the
format string


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7349 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-12 15:32:43 +00:00
Assar Westerlund
288ad49ba4 (PARSE_INT_FORMAT): add redundant casts to work around a gcc-bug that
manifests itself on Linux-PPC.  From Tom Rini
<trini@kernel.crashing.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7286 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-30 08:48:00 +00:00
Assar Westerlund
d3d25893e7 some signed vs unsigned casts
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6555 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-26 00:52:11 +00:00
Johan Danielsson
86f5886aa1 (vasnprintf): correct check if realloc returns NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5774 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-27 16:32:57 +00:00
Assar Westerlund
fb8d7e5910 unsigned char-correctness
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5269 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-12-20 15:36:03 +00:00
Johan Danielsson
a5f54865d4 merge strcpy_truncate branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-09 19:25:40 +00:00
Assar Westerlund
2eb7c4447a (sn_append_char): don't write any terminating zero.
(as_reserve): don't loop.  better heuristic for how much space to realloc.
(vasnprintf): simplify initializing to one.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4082 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-04 01:50:56 +00:00
Assar Westerlund
fbbda8de22 always call PARSE_INT_FORMAT with three arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3043 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-17 08:51:55 +00:00
Johan Danielsson
9eac57c88d Improve parsing of field widths, and more.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2718 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-07 16:19:34 +00:00
Assar Westerlund
f6f877376b code for checking the correct functioning of *nprintf is now #ifdef
PARANOIA


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1762 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 02:00:31 +00:00
Assar Westerlund
49eaf831ec Use bcopy' if there is no memmove'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1740 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-19 03:05:26 +00:00
Assar Westerlund
4829a2fe77 fix for the case of max_sz == 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1650 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-03 23:30:56 +00:00
Assar Westerlund
b03b3bb1e0 reorder
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1645 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 17:51:09 +00:00
Assar Westerlund
1495f52771 probably leaking less memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1634 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 13:21:49 +00:00
Assar Westerlund
8c9a3458f5 Added asnprintf and vasnprintf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1633 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 11:41:04 +00:00
Assar Westerlund
9a89bb4626 removed old code and made briefer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1632 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 10:46:49 +00:00
Assar Westerlund
021955feb5 implemented asprintf, vasprintf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1630 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 10:31:40 +00:00
Assar Westerlund
13969f16b3 first try at snprintf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1627 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 01:04:10 +00:00
Johan Danielsson
0c0085b3b3 Not used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@571 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-06-08 21:53:35 +00:00
Björn Groenvall
8d904e4fb6 Use includes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@443 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-04-29 11:56:03 +00:00
Björn Groenvall
8c6e549540 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@425 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-04-23 14:26:32 +00:00
Unknown User d91-jda
89af9ddeda Add libbroken.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@417 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-04-23 07:15:17 +00:00