Commit Graph

1610 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
e617b6330e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 00:02:09 +00:00
Love Hörnquist Åstrand
16a5f30931 Plug memory leak found by IBM checker (and try to please it).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 00:01:55 +00:00
Love Hörnquist Åstrand
2496f0d489 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-06 19:30:33 +00:00
Love Hörnquist Åstrand
59fade5fcd Spelling, from Alexey Dobriyan, via Jason McIntyre
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-06 19:30:16 +00:00
Love Hörnquist Åstrand
d81b773e4c Don't depend on dblibrary.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 14:26:12 +00:00
Love Hörnquist Åstrand
4fc736ab5a Don't use db support unless its build into libc but we dont check for
that now, so just disable the code. This removes the dependency on
libdb for roken, and that is a good thing since it causes problem with
nss plugins that uses DB3 that also provides the same symbol, but with
a diffrent ABI. so when the application calls getpwnamn() and it
linked to roken, it craches in the nss functions.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 14:25:32 +00:00
Love Hörnquist Åstrand
1f6590e295 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 17:15:08 +00:00
Love Hörnquist Åstrand
d380836a17 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 17:14:52 +00:00
Love Hörnquist Åstrand
eda99f62e6 (hex_decode): support decoding odd number of characters, in the odd
len case, the character ends up in the first byte in the lower nibble.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 17:09:29 +00:00
Love Hörnquist Åstrand
f9dbc89ee3 Check that we can decode single character hex chars.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 17:07:06 +00:00
Love Hörnquist Åstrand
ae852943f4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 15:16:05 +00:00
Love Hörnquist Åstrand
4c8088c946 Try handle HP/UX 11.nn
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 15:14:51 +00:00
Love Hörnquist Åstrand
f8dce1d55e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-28 03:07:19 +00:00
Love Hörnquist Åstrand
38c5dbe857 Move rk_UNCONST to roken.h.in since it might use uintptr_t depending
on avaibility.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-28 03:05:58 +00:00
Love Hörnquist Åstrand
2440d579fb Include <stdint.h> if it exists.
If avaiable, use uintptr_t to define rk_UNCONST.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-28 03:04:54 +00:00
Love Hörnquist Åstrand
57dfd2209e (libroken_la_SOURCES) += dumpdata.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-23 00:02:50 +00:00
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