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 |
|
Love Hörnquist Åstrand
|
3eeb75e552
|
make previous commit really work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14699 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-03-30 16:53:19 +00:00 |
|
Love Hörnquist Åstrand
|
bac06ed5bd
|
(roken_gethostby): s/sin/addr/ to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14698 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-03-30 16:50:02 +00:00 |
|
Love Hörnquist Åstrand
|
f4727981b9
|
(dns_lookup_int): s/stat/state/ to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14697 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-03-30 16:47:18 +00:00 |
|
Love Hörnquist Åstrand
|
dbba0be7b2
|
avoid shadowing div
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14696 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-03-30 16:43:52 +00:00 |
|
Love Hörnquist Åstrand
|
684c1acb7b
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14687 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-03-26 11:13:48 +00:00 |
|
Love Hörnquist Åstrand
|
dda06c4682
|
use defined(TEST_SNPRINTF) like on all other places in the same file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14686 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-03-26 11:13:06 +00:00 |
|
Love Hörnquist Åstrand
|
20e1990667
|
check for overflows
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14671 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-03-21 13:31:33 +00:00 |
|
Love Hörnquist Åstrand
|
1b28bc69c3
|
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14658 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-03-18 17:23:57 +00:00 |
|
Love Hörnquist Åstrand
|
7d0ee53c06
|
use $Id$, not the mangled netbsd version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14657 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-03-18 17:01:29 +00:00 |
|
Love Hörnquist Åstrand
|
fc71467948
|
use RCSID instead of __RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14656 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-03-18 16:59:04 +00:00 |
|
Love Hörnquist Åstrand
|
a93fe0ed4d
|
(hex_encode): wrap SIZE_T_MAX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14655 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-03-17 13:25:35 +00:00 |
|
Love Hörnquist Åstrand
|
842d538ec3
|
check_PROGRAMS += hex-test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14623 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2005-03-06 17:05:47 +00:00 |
|