Commit Graph

1444 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
e0cb46351f Add rk_dumpdata.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-22 23:52:24 +00:00
Love Hörnquist Åstrand
47be0b2203 Add rk_dumpdata() that write a chunk of data into a file for later
processing by some other tool (like asn1_print).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-22 23:51:35 +00:00
Love Hörnquist Åstrand
7f1ab5f9e8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 20:19:37 +00:00
Love Hörnquist Åstrand
52ec27616b 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@16062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-13 20:19:11 +00:00
Love Hörnquist Åstrand
c3d1e6f734 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-01 18:48:49 +00:00
Love Hörnquist Åstrand
2016626451 Add socket_set_ipv6only.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-01 18:48:17 +00:00
Love Hörnquist Åstrand
654d9acc05 Add socket_set_ipv6only, remove some argument names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-01 18:47:35 +00:00
Love Hörnquist Åstrand
4ea1ab0721 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-25 14:59:23 +00:00
Love Hörnquist Åstrand
229b381adc (rk_strpoolprintf): remove debug printf, plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-25 14:59:06 +00:00
Love Hörnquist Åstrand
7ad88e4ae7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 10:20:12 +00:00
Love Hörnquist Åstrand
a2255507d9 (setprogname): const poision
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 10:19:20 +00:00
Love Hörnquist Åstrand
42b72ff2b8 moved to libvers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-23 10:16:32 +00:00
Love Hörnquist Åstrand
683d9e9a7d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-22 19:17:01 +00:00
Love Hörnquist Åstrand
8c05794963 (dns_lookup_int): if we have res_ndestroy, prefeer that before res_nclose
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-22 19:16:21 +00:00
Love Hörnquist Åstrand
187a29664b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:43:57 +00:00
Love Hörnquist Åstrand
2d62579361 Rename optind to optidx to avoid shadowing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15930 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-12 13:42:17 +00:00
Love Hörnquist Åstrand
6a76da5c65 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-05 09:31:54 +00:00
Love Hörnquist Åstrand
dbdabdf1f9 sprinkel more const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-05 09:31:35 +00:00
Love Hörnquist Åstrand
e62baa6844 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-05 09:06:47 +00:00
Love Hörnquist Åstrand
c1dfa1a518 Make return value of gai_strerror const to match SUSv3.
Prompted by Stefan Metzmacher change to Samba.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-05 09:06:29 +00:00
Love Hörnquist Åstrand
718ab89892 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15675 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:20:40 +00:00
Love Hörnquist Åstrand
6ed70c8045 Remove parameter names to avoid shadow warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:20:27 +00:00
Love Hörnquist Åstrand
7712e99eb3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 07:58:49 +00:00
Love Hörnquist Åstrand
c079388c13 (nl_getlist): poll to get messages from kernel, and retry if the
message was lost
(free_nlmsglist): free all linked elements, not just the first one


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-13 07:58:36 +00:00
Love Hörnquist Åstrand
f5b60dd355 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 04:55:12 +00:00
Love Hörnquist Åstrand
cd4b0519ab Check a very simple format string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-08 04:54:26 +00:00
Love Hörnquist Åstrand
61576040e4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 19:16:37 +00:00
Love Hörnquist Åstrand
728b9121c5 If we have <strings.h> include it, its needed for strcasecmp() on
those platforms that are SUS3/iso c99 strict (like AIX)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 19:16:17 +00:00
Love Hörnquist Åstrand
2b2f1bab65 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 05:05:16 +00:00
Love Hörnquist Åstrand
00bf2bc852 remove duplicate ;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-07 05:03:30 +00:00
Love Hörnquist Åstrand
a9212312c1 rk_strpoolprintf first variable identifier is 3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-06 07:09:16 +00:00
Love Hörnquist Åstrand
1f2fade0d2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 07:16:11 +00:00
Love Hörnquist Åstrand
d20e0120c5 remove variable names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 07:13:33 +00:00
Love Hörnquist Åstrand
b7de0b950c fix format attribute
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-29 14:13:50 +00:00
Love Hörnquist Åstrand
befb1dfcd6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15521 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-28 23:00:04 +00:00
Love Hörnquist Åstrand
35f52db90c (libroken_la_SOURCES): += strpool.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-28 22:52:25 +00:00
Love Hörnquist Åstrand
d1e139c302 add strpool, a printf collector to make it eaiser to collect strings
into one string


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-28 22:49:56 +00:00
Love Hörnquist Åstrand
c5a6946a45 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 11:12:57 +00:00
Love Hörnquist Åstrand
5bae431953 Add const, from Andrew Abartlet <abartlet@samba.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-23 10:47:57 +00:00
Love Hörnquist Åstrand
b0de911103 test for "%Y%m"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-21 20:51:13 +00:00
Love Hörnquist Åstrand
f4cfe08a63 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-21 18:59:27 +00:00
Love Hörnquist Åstrand
e34a4a8614 unconst
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-21 18:56:15 +00:00
Love Hörnquist Åstrand
8a5d747fd8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-21 18:53:17 +00:00
Love Hörnquist Åstrand
eb738780bf Write a new parse_number function that is possible to limit that
amount of numbers used, with this strptime can handle
strptime("200505", "%Y%m", &tm);


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-21 18:52:37 +00:00
Love Hörnquist Åstrand
0d38426bfb avoid shadowing sin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 17:49:29 +00:00
Love Hörnquist Åstrand
cd2b132777 rename optind to optidx to avoid shadowing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:58:45 +00:00
Love Hörnquist Åstrand
1f37d21729 UNCONST return value from strptime
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15414 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:57:08 +00:00
Love Hörnquist Åstrand
e21b42f40c rk_UNCONST argument mktime
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:55:55 +00:00
Love Hörnquist Åstrand
101d943acc avoid shadowing sin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:53:09 +00:00
Love Hörnquist Åstrand
761bb32c40 (parse_record): fix casting to avoid losing const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 16:46:16 +00:00