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
Mark Andrews
2bdfb330af
update copyrights
2013-12-05 15:04:53 +11:00
Mark Andrews
c3c8823fed
3681. [port] Update the Windows build system to support feature
...
selection and WIN64 builds. This is a work in
progress. [RT #34160 ]
2013-12-04 12:47:23 +11:00
Tinderbox User
a3fb84bd1b
update copyright notice
2012-10-24 23:46:51 +00:00
Evan Hunt
47c5b8af92
[master] silence coverity warnings
...
3401. [bug] Addressed Coverity warnings. [RT #31484 ]
2012-10-23 22:04:06 -07:00
Automatic Updater
d7201de09b
update copyright notice
2009-09-02 23:48:03 +00:00
Tatuya JINMEI 神明達哉
d364948549
treat FD_SIZE as int (which can be defined as unsigned on some platforms)
...
to silence compiler
2009-09-01 22:52:27 +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
c6b65dff51
update copyright notice
2008-12-17 23:47:58 +00:00
Tatuya JINMEI 神明達哉
10a6f640ed
2519. [bug] dig/host with -4 or -6 didn't work if more than two
...
nameserver addresses of the excluded address family
preceded in resolv.conf. [RT #19081 ]
2008-12-17 19:19:29 +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
0d51617897
silence compiler
2004-09-17 05:59:28 +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
Andreas Gustafsson
1f1d36a87b
Check return values or cast them to (void), as required by the coding
...
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Danny Mayer
e61793f086
Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32
2001-11-19 03:08:44 +00:00
Andreas Gustafsson
001d1ceec6
coding style
2001-07-19 16:59:32 +00:00
Mark Andrews
3489d64bde
"or equals" rather than "not equals"
2001-07-19 04:57:46 +00:00
Danny Mayer
7181165333
Add support for win32
2001-07-19 02:50:12 +00:00
Andreas Gustafsson
1858039a0e
spacing
2001-07-10 21:13:07 +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
5733d25b06
921. [bug] lwres returned an incorrect error code if it received
...
a truncated message.
920. [func] Increase the lwres receive buffer size to 16K.
[RT #1451 ]
2001-07-02 20:46:31 +00:00
Brian Wellington
90c845947a
#include <time.h>
2001-06-07 00:45:35 +00:00
Mark Andrews
363cb30a83
703. [port] sys/select.h is needed on older platforms. [RT #695 ]
2001-01-23 03:07:18 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Andreas Gustafsson
5b34d8267e
revision 1.30 broke the default lwres address of 127.0.0.1
...
by incorrectly assuming that lwres_addr_parse() parses an address in string
form (it actually parses an address in lwres wire form)
2000-10-17 20:09:19 +00:00
Brian Wellington
3c0a818977
IPv6 portability
2000-10-12 21:39:23 +00:00
Brian Wellington
8f80322fb5
Support for lwresd on addresses other than 127.0.0.1.
2000-10-05 22:27:54 +00:00
Andreas Gustafsson
7bee275ebe
added lwres_context_send(), lwres_socket_recv(),
...
lwres_context_getsocket() to support clients doing async lookups
2000-08-22 16:20:21 +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
68aa880dd5
remove unnecessary calls to fcntl().
2000-07-07 19:10:00 +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
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +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
efe2f579ba
add LWRES_CONTEXT_SERVERMODE
2000-06-15 23:48:11 +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
74cf566d92
"context.c", line 195: remark(1506): implicit conversion from "unsigned int"
...
to "long": rounding, sign extension, or loss of accuracy may result
Fixed by ensuring unsigned long ctx->timeout does not overflow the signed
long timeout.tv_sec.
2000-05-14 03:20:17 +00:00
David Lawrence
8764af86f7
/*
...
* Compilers that use an older prototype for recvfrom() will
* warn about the type of the sixth parameter, fromlen. It
* is now standardized as unsigned, specifically as socklen_t.
*/
(... but the code itself still uses unsigned int. This comment was added
because HP/UX is complaining now even as other compilers stopped complaining
when it was changed from signed int to unsigned int.)
2000-05-08 19:53:50 +00:00
David Lawrence
28beeb7067
fromlen changed from int to unsigned int
2000-05-08 17:57:01 +00:00
David Lawrence
1a69a1a78c
Megacommit of dozens of files.
...
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
2000-05-08 14:38:29 +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
Michael Graff
01933e9302
start changing from 'int' returns to 'lwres_result_t'
2000-02-23 01:46:34 +00:00
Michael Graff
7a166c5c61
completely decouple the lwres library from libisc. Bad michael for using isc/int.h and isc/lang.h, bad Mark for adding isc/tring.h, isc/net.h, and a few others.
2000-02-03 01:28:52 +00:00
Michael Graff
a4987cc031
pull the timeout from the context, that's what it is there for.
2000-02-02 23:22:56 +00:00