Andreas Gustafsson
f42e70d3ac
pullup:
...
311. [bug] lwres_conf_parse failed when the first line of
resolv.conf was empty or a comment.
2000-07-10 23:20:12 +00:00
Andreas Gustafsson
ed57858ca9
pullup:
...
Some of the lwres functions weren't calling lwres_conf_parse.
2000-07-10 22:23:24 +00:00
Andreas Gustafsson
9135349b0c
incremented library version numbers to 1.0.0
2000-07-10 22:21:34 +00:00
Andreas Gustafsson
e8ad1e7446
pullup: Some of the lwres functions weren't calling lwres_conf_parse.
2000-07-10 21:02:45 +00:00
Andreas Gustafsson
fce25ebb16
pullup:
...
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.
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-10 20:58:08 +00:00
Andreas Gustafsson
9236ee69b4
pullup: Check LWRES_PLATFORM_HAVESALEN, not ISC_PLATFORM_HAVESALEN
2000-07-10 20:53:41 +00:00
Andreas Gustafsson
4db3ee516e
pullup: Lots of the comments were wrong.
2000-07-10 20:52:26 +00:00
Andreas Gustafsson
cb2e6b4e8d
pullup:
...
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-03 21:57:56 +00:00
Andreas Gustafsson
72bd736c13
pullup: new joint ISC/BSDI copyright message as requested by
...
Paul Borman <prb@bsdi.com >
2000-07-03 17:50:03 +00:00
Andreas Gustafsson
f9fbfe69c0
pullup: Using 0 as an error value tends to conflict with using 0 to represent
...
success.
2000-07-03 17:09:30 +00:00
Brian Wellington
cf781da93d
make install didn't work when using separate build dir
2000-06-30 01:25:29 +00:00
Andreas Gustafsson
03def540bb
pullup: An lwres context was being destroyed while still in use
2000-06-28 22:01:06 +00:00
Andreas Gustafsson
7c940dd411
pullup: Return NO_RECOVERY, not HOST_NOT_FOUND if the error is not LWRES_NOTFOUND
2000-06-27 23:44:19 +00:00
Andreas Gustafsson
9cff02699c
pullup: Missing #include "assert_p.h"
2000-06-27 23:43:43 +00:00
Andreas Gustafsson
c964c5c1c4
pullup: Return better errors (TRAILINGDATA, not UNEXPECTEDEND), and style changes.
2000-06-27 18:57:47 +00:00
Andreas Gustafsson
f7539e2f77
pullup: Fixed a few errors in error recovery and uses of int instead of lwres_result_t
2000-06-26 23:31:09 +00:00
Michael Graff
5dd0c5ed43
pull up 1.23 to 1.25 for Brian and Andreas
2000-06-26 23:08:45 +00:00
Andreas Gustafsson
71afd01cd9
pullup: Removed more pointer to integer assignments
2000-06-26 21:59:42 +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
Brian Wellington
864d6c7042
Add LWRES_R_INCOMPLETE
2000-06-21 18:18:22 +00:00
Brian Wellington
412e5c6211
Add lwres_udp_port, so that test programs can use a different port.
2000-06-19 21:56:48 +00:00
Michael Graff
aad37e39b3
protect sin6_scope_id
2000-06-16 01:44:15 +00:00
Michael Graff
efe2f579ba
add LWRES_CONTEXT_SERVERMODE
2000-06-15 23:48:11 +00:00
Michael Graff
3d2332d68f
include <lwres/net.h> so AF_INET6 is always defined
2000-06-15 22:43:48 +00:00
Michael Graff
8313838954
Conditionalize setting of struct sockaddr_in6's sin6_scope_id member.
...
Some machines have it, older ipv6 flavors do not.
2000-06-15 21:52:21 +00:00
James Brister
52d06580bd
Fixed handling of printing of lwres_addr_t.address field.
2000-06-15 21:34:21 +00:00
Michael Graff
2193d51910
latest patches from pr 135
2000-06-15 18:49:54 +00:00
Michael Graff
99dd8505ed
Bring up to spec. Patches from pr 134, 135
2000-06-15 18:28:11 +00:00
James Brister
e03329a387
253. [func] resolv.conf parser now recognises ';' and '#' as
...
comments (anywhere in line, not just as the beginning).
252. [bug] resolv.conf parser mishandled masks on sortlists.
It slso aborted when an unrecognised keyword was seen,
now it silently ignores the entire line.
2000-06-13 17:52:58 +00:00
Andreas Gustafsson
1cad45e9cf
whitespace changes in copyright message
2000-06-09 20:59:32 +00:00
Andreas Gustafsson
b6007467eb
style; no functional change
2000-06-08 18:37:29 +00:00
Andreas Gustafsson
c062bee495
style; no functional change
2000-06-08 18:36:52 +00:00
Michael Sawyer
1378841691
Clean-room version of gai_strerror() to get rid of (C) issues.
2000-06-08 18:32:04 +00:00
David Lawrence
ed71ea51c6
Silence a few more warnings:
...
+ missing sigwait prototype on BSD/OS 4.0/4.0.1
+ PTHREAD_ONCE_INIT unbraced initializer warnings on Solaris 2.8.
+ IN6ADDR_ANY_INIT unbraced initializer warnings on BSD/OS 4.*, Linux and
Solaris 2.8.
2000-06-06 16:06:50 +00:00
David Lawrence
50bd180f4b
lwres_gai_strerror()'s return value is massaged to remove the const qualifier,
...
as specified by RFC 2133. It's still ultimately const, just not with
the qualifier.
2000-06-01 19:11:21 +00:00
David Lawrence
a5e5d67faa
gai_strerror is spec'd by RFC 2133 as char *, with no const qualifier.
...
I'll have to see about how this can be handled more suitably by the code,
but for now, the return value has been revered to not being const qualified.
2000-06-01 18:29:27 +00:00
David Lawrence
8612a0d515
gai_strerror returns const char * now; this change was (erroneously) only made
...
to netdb.h in my local tree, not to the file that generates it ...
2000-06-01 18:10:37 +00:00
Brian Wellington
89dabedbd0
make lwres_gai_strerror return char *, not const char *. This now matches the
...
prototype in include/lwres/netdb.h (which was causing a compile failure) and
the strerror man pages.
2000-06-01 18:06:31 +00:00
David Lawrence
ca81c3971c
Megacommit of many files.
...
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
Minor other ISC style cleanups.
2000-06-01 17:39:26 +00:00
David Lawrence
db9628e897
changed "c" stack variable from char to unsigned char to quiet Solaris 5.8
...
warnings that "subscript has type char".
2000-05-25 01:08:07 +00:00
David Lawrence
03a0fca86d
define and use LWRES_SOCKADDR_LEN_T for recvfrom() and stop compiler warnings
...
by casting the sixth parameter of recvfrom() to void *, as with
lib/isc/unix/socket.c.
2000-05-24 05:22:36 +00:00
David Lawrence
ed019cabc1
fixed lines > 79 columns wide
2000-05-24 05:10:00 +00:00