Commit Graph

1372 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
e419ac333a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-04 11:57:11 +00:00
Love Hörnquist Åstrand
30c7adf3d3 Include snprintf-test.h earlier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-04 11:56:56 +00:00
Love Hörnquist Åstrand
d0993b3ed9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15074 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 16:52:42 +00:00
Love Hörnquist Åstrand
f5eaee70f2 Include snprintf-test.h earlier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 16:49:34 +00:00
Love Hörnquist Åstrand
22c95cf623 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 10:55:56 +00:00
Love Hörnquist Åstrand
e4e152ebe7 Add member fd to map.
(rk_test_mem_alloc, rk_test_mem_free): Use it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 10:53:10 +00:00
Love Hörnquist Åstrand
48870fb07a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:47:35 +00:00
Love Hörnquist Åstrand
b69b02125d add break on default: statements, from Douglas E. Engert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:45:47 +00:00
Love Hörnquist Åstrand
122f628e3b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:11:07 +00:00
Love Hörnquist Åstrand
b4e448428a (vsnprintf): don't write the NUL into the string if the length was 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:07:05 +00:00
Love Hörnquist Åstrand
f651d08834 add check that snprintf doesn't write the NUL into the last byte when
its a zero length input string


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 15:03:57 +00:00
Love Hörnquist Åstrand
45032b3505 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:48:42 +00:00
Love Hörnquist Åstrand
b904f38205 Include <err.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-30 14:48:29 +00:00
Love Hörnquist Åstrand
a86ee1251a check that string is properly terminated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14994 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:59:53 +00:00
Love Hörnquist Åstrand
c9ac32d74a test the NULL string, fix printfs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:36:02 +00:00
Love Hörnquist Åstrand
9affb89884 add some more tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:32:00 +00:00
Love Hörnquist Åstrand
ea05edd7e6 check the 0 length string too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 18:26:21 +00:00
Love Hörnquist Åstrand
71dc254fd8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:18:18 +00:00
Love Hörnquist Åstrand
eb9bd70683 add rk_realloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:17:53 +00:00
Love Hörnquist Åstrand
5b5dc2420a fix (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:08:19 +00:00
Love Hörnquist Åstrand
9ed1c245f6 add realloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:07:38 +00:00
Love Hörnquist Åstrand
e5426143a2 add rk_realloc, unbroken version of realloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 12:06:36 +00:00
Love Hörnquist Åstrand
74cf698513 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:09:11 +00:00
Love Hörnquist Åstrand
1faae673ee Include roken.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 08:05:00 +00:00
Love Hörnquist Åstrand
0cd33d833e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:28:54 +00:00
Love Hörnquist Åstrand
3fcb41496d cast to unsigned char to make sure its not negative when passing it to
is* functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:28:35 +00:00
Love Hörnquist Åstrand
fca6863ff2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:08:28 +00:00
Love Hörnquist Åstrand
0b59fd30dc cast to unsigned char to make sure its not negative when passing it to
to* functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:07:40 +00:00
Love Hörnquist Åstrand
c462f2b1a2 add ROKEN_LIB_FUNCTION glue
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 13:19:07 +00:00
Love Hörnquist Åstrand
28303a2798 add closefrom
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 13:17:16 +00:00
Love Hörnquist Åstrand
cbe95e0177 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 11:39:16 +00:00
Love Hörnquist Åstrand
043e2fb6c6 don't close stderr, close all fd that is num 3 and larger
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 11:39:00 +00:00
Love Hörnquist Åstrand
a3cd0311be x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 08:06:42 +00:00
Love Hörnquist Åstrand
d15c9d7cc6 (pipe_execv): use closefrom
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 08:05:03 +00:00
Love Hörnquist Åstrand
34416ca94f drop <errno.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 08:01:38 +00:00
Love Hörnquist Åstrand
ff78cfca60 add closefrom
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 08:00:44 +00:00
Love Hörnquist Åstrand
f1f84477a8 provide ROKEN_LIB_FUNCTION glue
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 05:52:27 +00:00
Love Hörnquist Åstrand
75fd257d78 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-12 11:33:04 +00:00
Love Hörnquist Åstrand
709aa58c74 define ROKEN_LIB_FUNCTION on all exported functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-12 11:29:18 +00:00
Love Hörnquist Åstrand
c1c535f239 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:01:48 +00:00
Love Hörnquist Åstrand
1a5d075bae print DS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:00:02 +00:00
Love Hörnquist Åstrand
717eaf3c8f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 18:48:52 +00:00
Love Hörnquist Åstrand
2a95fd688b remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 17:49:26 +00:00
Love Hörnquist Åstrand
032007ddbd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 20:16:09 +00:00
Love Hörnquist Åstrand
5e74cbdab9 print size_t by casting to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 19:31:56 +00:00
Love Hörnquist Åstrand
a33daf69bf print size_t by casting to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 19:24:18 +00:00
Love Hörnquist Åstrand
d463f754ad x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 17:40:33 +00:00
Love Hörnquist Åstrand
d40ed2e5a1 print size_t by casting to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 17:40:10 +00:00
Love Hörnquist Åstrand
227fcde20c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 08:40:57 +00:00
Love Hörnquist Åstrand
55e1336d94 (try): reset va_list argument between reuse, from Peter Kruty <xkruty@fi.muni.cz>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 08:40:40 +00:00