Commit Graph
66 Commits
Author SHA1 Message Date
Ondřej Surý e37e27c560 Update lwres to use stdint types to finish transition to using stdint types 2018-08-22 09:04:02 +02:00
Evan Hunt 09cf48603a update file headers 2018-03-15 18:38:48 -07:00
Evan Hunt 8b205089b7 update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
Mark Andrews 0c27b3fe77 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
Evan Hunt a6ad80dd08 [master] make lwres/stdlib.h and lwres/string.h instead of compat.h 2014-08-05 22:01:06 -07:00
Mark Andrews 70be388974 [rt36039]
3902.   bug]            liblwres wasn't handling link-local addresses in
                        nameserver clauses in resolv.conf. [RT #36039]
2014-07-30 23:26:37 +10:00
Evan Hunt 56510cd031 [master] null terminate strings for coverity 2014-06-16 15:30:11 -07:00
Tinderbox User 431a83fb29 update copyright notice 2014-01-09 23:46:35 +00:00
Evan Hunt e851ea8260 [master] replace memcpy() with memmove().
3698.	[cleanup]	Replaced all uses of memcpy() with memmove().
			[RT #35120]
2014-01-08 16:39:05 -08:00
Mark Andrews 611dc88768 3390. [bug] Silence clang compiler warnings. [RT #30417] 2012-10-06 14:20:45 +10:00
Tinderbox User da5d53fb14 update copyright notice 2012-06-26 23:45:56 +00:00
Mark Andrews 1a3894ca22 silence compiler warning by using offsetof to get structure elelment offsets 2012-06-25 11:57:10 +10:00
Automatic Updater 1f426f426e update copyright notice 2008-11-25 23:47:23 +00:00
Mark Andrews 9019569316 2499. [port] solaris: lib/lwres/getaddrinfo.c namespace clash.
[RT #18837]
2008-11-25 05:39:10 +00:00
Evan Hunt 7de2c6e6d5 Fix compiler warnings on SCO OSr5 2007-09-13 04:48:16 +00:00
Automatic Updater 70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Automatic Updater ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews 7c46a643cb update copyright notice 2006-11-14 01:07:29 +00:00
Mark Andrews 09b6499ac3 2102. [port] Silence solaris 10 warnings. 2006-11-13 11:55:38 +00:00
Mark Andrews 2674e1a455 1940. [bug] Fixed a number of error conditions reported by
Coverity.
2005-11-30 03:33:49 +00:00
Mark Andrews e7fb847ed5 1883. [port] sunos: portability fixes. [RT #14814] 2005-06-08 02:09:18 +00:00
Mark Andrews 69fe9aaafd update copyright notice 2005-04-29 00:24:12 +00:00
Rob Austein ab023a6556 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 04:57:32 +00:00
Mark Andrews af5073d032 update copyrights 2004-03-05 05:48:29 +00:00
Mark Andrews dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Danny Mayer 5236050c0f Add support for win32 2001-07-18 02:37:15 +00:00
Andreas Gustafsson 34729dbcb3 split lwres/net.h into separate Unix and Win32 version to facilitate
porting; rely on that header for networking definitions rather than redundantly
including OS-dependent headers from the various lwres .c files
2001-07-10 18:26:12 +00:00
Danny Mayer f47c41b5fe htons expects an unsigned short for the argument 2001-06-28 06:02:18 +00:00
Brian Wellington 91425b5e72 730. [bug] lwres_getaddrinfo() returns the correct result when
it fails to contact a server. [RT #768]
2001-02-08 00:31:21 +00:00
Brian Wellington d378ec4758 The return value of lwres_net_pton was checked for != 0 in a few places,
not == 1.
2001-01-31 22:06:33 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington fa5a42fbad 670. [bug] The lwres replacements for getaddrinfo and
getipnodebyname didn't properly check for the
                        existence of the sockaddr sa_len field.
2001-01-09 01:26:43 +00:00
David Lawrence d7f98c32d3 line > 79 columns 2000-12-06 00:35:44 +00:00
Brian Wellington 8f80322fb5 Support for lwresd on addresses other than 127.0.0.1. 2000-10-05 22:27:54 +00:00
Brian Wellington 12688cc9fc #include <resolv.h> is not needed, and causes problems on AIX. 2000-09-19 21:21:59 +00:00
David Lawrence 5896a3af18 In lwres_getaddrinfo() when checking for numeric addresses, the ntmp char array
was only initialized and used when LWRES_HAVE_SIN6_SCOPE_ID was defined,
but was declared and used outside a protective #ifdef.  I moved the
declaration and one use of it into #ifdef protection.
2000-08-02 16:08:41 +00:00
David Lawrence 40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
Brian Wellington 0308460880 Some of the lwres functions weren't calling lwres_conf_parse. 2000-07-07 19:43:10 +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
Brian Wellington c614882bd8 typo 2000-06-27 00:41:13 +00:00
Brian Wellington 50719689ef coding style 2000-06-27 00:24:12 +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
David Lawrence b602710169 update_copyrights 2000-06-21 22:20:18 +00:00
Michael Graff efe2f579ba add LWRES_CONTEXT_SERVERMODE 2000-06-15 23:48:11 +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
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
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 80056496f0 line 307: remark(1692): prototyped function redeclared without prototype.
Fixed.
2000-05-14 03:26:31 +00:00