Commit graph

55 commits

Author SHA1 Message Date
Mark Andrews
0c27b3fe77 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10: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
Evan Hunt
45f3693294 [master] check malloc/calloc return values
3436.	[bug]		Check malloc/calloc return values. [RT #32088]
2012-12-07 12:23:58 -08:00
Evan Hunt
47c5b8af92 [master] silence coverity warnings
3401.	[bug]		Addressed Coverity warnings. [RT #31484]
2012-10-23 22:04:06 -07:00
Mark Andrews
611dc88768 3390. [bug] Silence clang compiler warnings. [RT #30417] 2012-10-06 14:20:45 +10:00
Tinderbox User
7ce7ecf6bc update copyright notice 2012-10-03 23:46:17 +00:00
Evan Hunt
41bbb34bc2 fix coverity issues
3388.	[bug]		Fixed several Coverity warnings. [RT #30996]
2012-10-02 23:44:03 -07:00
Automatic Updater
823ca3c14f update copyright notice 2009-09-01 23:47:45 +00:00
Evan Hunt
ef22fffeeb 2662. [bug] lwres_getipnodebyname() and lwres_getipnodebyaddr()
returned a misleading error code when lwresd was
			down. [RT #20028]

2661.	[bug]		Check whether socket fd exceeds FD_SETSIZE when
			creating lwres context. [RT #20029]
2009-09-01 05:50:18 +00:00
Automatic Updater
800fb35bf0 update copyright notice 2009-08-15 23:48:06 +00:00
Evan Hunt
181b990c21 Back out change #2652 2009-08-15 05:03:14 +00:00
Evan Hunt
38cd84d1b3 2652. [bug] lwres_getipnodebyname() and lwres_getipnodebyaddr()
returned a misleading error code when lwresd was
			down. [RT #20028]
2009-08-15 03:11:57 +00:00
Automatic Updater
ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews
47ee25b1f5 2199. [bug] win32: don't call WSAStartup() while loading dlls.
[RT #16911]
2007-06-18 03:36:51 +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
1cb73c69f7 1850. [bug] Memory leak in lwres_getipnodebyaddr(). [RT #14591] 2005-04-27 00:24:02 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
5eb91bd90e silence compiler warnings (HPUX/11i) 2003-07-25 00:01:16 +00:00
Mark Andrews
49d69bbad8 use lwres_inet_ntop instead of inet_ntop 2002-08-08 21:14:13 +00:00
Mark Andrews
bb6936058e 1351. [bug] lwres_getipnodebyname() returned the wrong name
when given a IPv4 literal, af=AF_INET6 and AI_MAPPED
                        was set.
2002-08-02 12:16:57 +00:00
Mark Andrews
bdb1394788 1205. [func] lwres: probe the system to see what address families
are currently in use.
2002-05-27 06:54:48 +00:00
Andreas Gustafsson
91cd0f93ad sizeof style 2001-11-27 01:56:32 +00:00
Andreas Gustafsson
f1b6872550 Do not put a space before ';' when terminating a statement or in a 'for' statement. 2001-11-27 00:56:32 +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
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
Brian Wellington
8f80322fb5 Support for lwresd on addresses other than 127.0.0.1. 2000-10-05 22:27:54 +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
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +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
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
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
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Michael Graff
efe2f579ba add LWRES_CONTEXT_SERVERMODE 2000-06-15 23:48:11 +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
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
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
David Lawrence
6b7257f756 include config.h 2000-04-28 02:08:20 +00:00
Michael Graff
d736db6dc5 lwres get-addr-by-name returns a linked list, not an array, of names. This
was needed to make adding the sortlist code, which will be checked in
in a few minutes.
2000-03-10 23:11:36 +00:00
Bob Halley
35c842e05d deal with lwres portability issues 2000-02-04 06:04:16 +00:00
Mark Andrews
af9cfbc643 move reference implementations into lwres_ namespace. 2000-02-03 21:54:10 +00:00
Michael Graff
8c8360e5c3 UNUSED(), INSIST(), and REQUIRE() come from assert_p.h (private to lwres source) 2000-02-03 01:42:50 +00:00
Michael Graff
37d266d288 decouple the lwres functions too. These really need to be cleaned up in many other ways. 2000-02-03 01:37:29 +00:00
Mark Andrews
7e4d75a5da add copyright notices 2000-02-01 02:58:47 +00:00
Mark Andrews
c4cc75482f Add missing malloc failure check
Correctly NULL second entry in he->h_addr_list on get*byaddr.
2000-02-01 01:58:26 +00:00
Mark Andrews
6add3af839 check result from lwres_context_create() 2000-01-28 06:24:01 +00:00
Mark Andrews
ea02307209 aix/solaris checkpoint 2000-01-27 13:04:15 +00:00