Commit graph

217 commits

Author SHA1 Message Date
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence
10885eeaae I was mistaken, FreeBSD needs the stddef.h include 2000-07-27 02:11:19 +00:00
Mark Andrews
c9b176a528 353. [bug] double incrememnt in lwrew/gethost.c:copytobuf().
(RT# 187)
2000-07-26 22:52:01 +00:00
David Lawrence
7b04a0e1df does not need stddef.h, tell emacs to use C mode on the file 2000-07-26 21:56:28 +00:00
Andreas Gustafsson
a4db2a47f5 incremented library version numbers to 1.0.0 2000-07-10 22:20:43 +00:00
Brian Wellington
0308460880 Some of the lwres functions weren't calling lwres_conf_parse. 2000-07-07 19:43:10 +00:00
Brian Wellington
68aa880dd5 remove unnecessary calls to fcntl(). 2000-07-07 19:10:00 +00:00
Brian Wellington
d8c8722f28 313. [bug] When parsing resolv.conf, don't terminate on an
error.  Instead, parse as much as possible, but
                        still return an error if one was found.
2000-07-07 18:58:46 +00:00
Brian Wellington
03968c0f5e removed dead code 2000-07-07 18:28:58 +00:00
Brian Wellington
4b7167e96a 312. [bug] Increase the number of allowed elements in the
resolv.conf search path from 6 to 8.  If there
                        are more than this, ignore the remainder rather
                        than returning a failure in lwres_conf_parse.
2000-07-07 18:24:11 +00:00
Brian Wellington
a4b496f2ab 311. [bug] lwres_conf_parse failed when the first line of
resolv.conf was empty or a comment.
2000-07-07 18:16:46 +00:00
Brian Wellington
861df15904 The includes were in the wrong order, causing digital unix to fail. 2000-07-06 22:13:15 +00:00
Brian Wellington
23efeb1a58 Check LWRES_PLATFORM_HAVESALEN, not ISC_PLATFORM_HAVESALEN 2000-07-06 21:42:05 +00:00
Brian Wellington
23ce1c7cca Lots of the comments were wrong. 2000-07-06 20:05:13 +00:00
Brian Wellington
e2894b0e50 304. [bug] If more than LWRES_CONFMAXNAMESERVERS servers
are listed in resolv.conf, silently ignore them
                        instead of returning failure.
2000-07-03 20:13:12 +00:00
Andreas Gustafsson
855bda3de3 new joint ISC/BSDI copyright message as requested by
Paul Borman <prb@bsdi.com>
2000-07-03 17:44:22 +00:00
David Lawrence
de8e189332 300. [bug] Using both <isc/net.h> and <lwres/net.h> didn't work
on platforms lacking IPv6 because each included their
			own ipv6 header file for the missing definitions.  Now
			each library's ipv6.h defines the wrapper symbol of
			the other (ISC_IPV6_H and LWRES_IPV6_H).
2000-07-01 01:41:54 +00:00
Andreas Gustafsson
fe8d130967 make install didn't work when using separate build dir 2000-06-30 00:29:29 +00:00
Brian Wellington
089b7bf0a5 a missing #include "assert_p.h" caused a compile failure. 2000-06-28 22:57:42 +00:00
Brian Wellington
09aea877e7 An lwres context was being destroyed while still in use 2000-06-28 21:55:33 +00:00
Brian Wellington
f51647808f Using 0 as an error value tends to conflict with using 0 to represent
success.
2000-06-28 21:43:46 +00:00
Jim Reid
084d809e48 fixed some typos
removed references to ENI_ error codes because they're not
documented in RFC2133 and are defined in getnameinfo.c rather
than some include file anyway
2000-06-28 21:43:41 +00:00
Brian Wellington
171d0db7f9 Return NO_RECOVERY, not HOST_NOT_FOUND if the error is not LWRES_NOTFOUND 2000-06-27 23:20:34 +00:00
Brian Wellington
2ef7b73fd5 Missing #include "assert_p.h" 2000-06-27 23:13:26 +00:00
Jim Reid
a07cfacd85 initial draft of lwres manpages 2000-06-27 21:53:10 +00:00
Brian Wellington
d364e89bda The off by one error wasn't. 2000-06-27 18:51:51 +00:00
Brian Wellington
9006ddc64a Fix off-by-one error and move a few lines of code. 2000-06-27 18:03:52 +00:00
Brian Wellington
031ce3bc62 Return better errors (TRAILINGDATA, not UNEXPECTEDEND), and style changes. 2000-06-27 18:03:23 +00:00
Brian Wellington
f356f1bb5d style changes 2000-06-27 18:02:12 +00:00
Brian Wellington
db118c5f26 Add a comment saying that _parseheader() isn't the right place to verify
that the buffer containing the entire packet is long enough.
2000-06-27 18:01:16 +00:00
Brian Wellington
c614882bd8 typo 2000-06-27 00:41:13 +00:00
Brian Wellington
6f4317150b remove dead code 2000-06-27 00:24:27 +00:00
Brian Wellington
50719689ef coding style 2000-06-27 00:24:12 +00:00
Brian Wellington
c1ecf4ace2 Remove declaration of REQUIRE 2000-06-26 23:35:00 +00:00
Brian Wellington
347ccc2716 Fixed a few errors in error recovery and uses of int instead of lwres_result_t 2000-06-26 23:23:28 +00:00
Andreas Gustafsson
aa57fcf820 two more unchecked calls to strdup() found by Brian 2000-06-26 22:50:20 +00:00
Andreas Gustafsson
f264d3cb2c sense of strcmp() wrong; missing test of strdup() return value
(find by Brian by inspection)
2000-06-26 22:30:32 +00:00
Brian Wellington
bc9470d240 *** empty log message *** 2000-06-26 21:27:14 +00:00
Brian Wellington
e1e309c63d Removed more pointer to integer assignments. 2000-06-26 20:58:52 +00:00
Brian Wellington
234878743f Cast a pointer to an unsigned long, not an unsigned int, before doing bit
manipulations.
2000-06-26 20:39:42 +00:00
Brian Wellington
1d1d2fa57a Seed a (not really) random value with time(NULL), not the pointer value. 2000-06-26 20:30:37 +00:00
David Lawrence
9b639db360 use protect netdb.h and rpc/netdb.h from check-includes.pl recommended removal 2000-06-23 03:14:04 +00:00
David Lawrence
be65f56d23 does not need stddef.h, lwres/int.h or lwres/result.h 2000-06-23 03:13:26 +00:00
David Lawrence
f7be916879 does not need lwres/lang.h 2000-06-23 03:12:42 +00:00
David Lawrence
cf203e0ece does not need stddef.h or lwres/int.h 2000-06-23 03:12:28 +00:00
David Lawrence
a41242165c use lwres/lang.h, protect some files from check-includes.pl recommended removal 2000-06-23 03:12:06 +00:00
David Lawrence
e6e10b96f9 protect assert.h from check-includes.pl removal recommendation 2000-06-23 03:11:01 +00:00
Andreas Gustafsson
57b3597444 275. [bug] The definition of lwres_gai_strerror() was missing the
lwres_ prefix.
2000-06-23 01:50:48 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence
b602710169 update_copyrights 2000-06-21 22:20:18 +00:00