Commit Graph

5150 Commits

Author SHA1 Message Date
Andreas Gustafsson
5e194abb5b 814. [bug] Socket objects left over from accept() failures
were incorrectly destroyed, causing corruption
                        of socket manager data structures.

 813.   [bug]           File descriptors exceeding FD_SETSIZE were handled
                        badly. [RT #1192]
2001-04-26 23:45:55 +00:00
Andreas Gustafsson
e482a1c91e cache dumps now include trust levels and ncache entries 2001-04-26 21:17:56 +00:00
David Lawrence
2b5f436aeb Make greatest_version() return an isc_result_t, which it should have
been doing all along since there was the possibility isc_dir_open() would
fail and overloading the return value of "0" was bad practice.

If isc_dir_open() fails in greatest_version(), make sure the path separator
is restored to the destination pathname if it was NULified before returning
the error.

The underlying problem of isc_log_open() not having the bad result of
isc_dir_open() reported anywhere will be slightly mediate by a change
to bin/named/logconf.c to test the directory.  lib/isc/log.c can't really
handle it because it has no idea to where such an error should be reported,
and it only shows up during isc_log_open() as part of the isc_log_write()
family of calls, which are all void.
2001-04-25 23:59:44 +00:00
Andreas Gustafsson
cb77fe457a "sending notifies (%u)" -> "sending notifies (serial %u)" 2001-04-24 23:03:04 +00:00
Andreas Gustafsson
0dc1e14537 alphabetized includes 2001-04-24 18:40:07 +00:00
Andreas Gustafsson
92ba2e22ae removed extraneous quotes 2001-04-24 18:13:47 +00:00
Andreas Gustafsson
8eea877894 untabified so that program listings line up properly
in the nroff output
2001-04-24 18:11:27 +00:00
Andreas Gustafsson
09df6c7006 removed unnecessary includes 2001-04-24 17:57:46 +00:00
Bob Halley
38d21a360a only reacquire the lock in no_references() if we actually gave it up 2001-04-24 17:03:54 +00:00
Andreas Gustafsson
6f118c4893 removed redundant 'i++;' 2001-04-24 00:56:17 +00:00
Mark Andrews
dab8e1d00c enable IPv6 resolver support 2001-04-23 02:59:53 +00:00
Mark Andrews
f93659e9a2 IPv6 fixes 2001-04-23 02:59:17 +00:00
Mark Andrews
1e6276aaf8 WANT_IRS_NISGR_OBJ -> WANT_IRS_NISGR_OBJS 2001-04-23 02:57:20 +00:00
David Lawrence
ed1c40264e sigh. do not set the lock from node->locknum until being sure node is not null 2001-04-20 21:22:09 +00:00
David Lawrence
a0e1f68e14 Now that no_references() reacquires the node lock after deleting the node,
all of its callers need to maintain a reference to the lock that doesn't
involve looking at node->locknum after no_references() was called.
2001-04-20 14:35:04 +00:00
Andreas Gustafsson
15254d5865 note that parsers are not reusable 2001-04-19 23:28:17 +00:00
Andreas Gustafsson
cedd0ab1e8 811. [bug] Parantheses were not quoted in zone dumps. [RT #1194] 2001-04-19 18:39:42 +00:00
Brian Wellington
59c85e1636 Return ISC_R_NOSPACE if the buffer isn't large enough to hold the DNS header. 2001-04-19 18:28:35 +00:00
Mark Andrews
f6c845a79b build libbind from .o's 2001-04-18 11:08:28 +00:00
David Lawrence
f6f8d61a77 reacquire the node lock the caller held before returning from no_references() 2001-04-18 08:06:11 +00:00
Andreas Gustafsson
ebea68ec9c regenerated man pages with pdated docbook2man-spec.pl;
now the function prototypes are formatted correctly
2001-04-17 18:01:53 +00:00
Brian Wellington
8c3989000a 810. [bug] The signer name in SIG records was not properly
downcased when signing/verifying records. [RT #1186]
2001-04-17 17:20:27 +00:00
David Lawrence
1bd5b8aac6 use ISC_MAGIC to define magic number 2001-04-17 14:36:45 +00:00
David Lawrence
79ed194592 sigh. always test recompile things even after a minor change. after deciding
to _not_ much with the lock tracing/printing facility for the last change,
i forgot to also add the new result variable back into the stack
declarations, where i had correctly put it the first time.
2001-04-17 13:42:32 +00:00
David Lawrence
8e60ba90e0 unlock the mutex when non-blocking locking is attempted and the lock is busy. 2001-04-17 04:07:38 +00:00
Brian Wellington
ec57fd24fc The isccc headers weren't installed at all. Oops. 2001-04-16 22:50:18 +00:00
Brian Wellington
98e8f87a6d actually list all of the headers. 2001-04-16 22:44:43 +00:00
Brian Wellington
4e56b9615f remove the (now) redundant setting of the magic number. 2001-04-16 21:14:27 +00:00
Brian Wellington
ac6afcd0ca 809. [bug] Configuring a non-local address as a transfer-source
could cause an assertion failure during load.
2001-04-16 18:50:32 +00:00
David Lawrence
900d7d9c9b forgot to actually change the macro call that needed the deconst argument 2001-04-14 00:20:07 +00:00
David Lawrence
ddb8f23a09 a different approach to shutting up compilers about an empty file, one that
does not cause all the compilers to complain about a variable being
defined but not used.
2001-04-13 02:26:32 +00:00
David Lawrence
0109515495 use ISC_TF() to set an isc_boolean_t 2001-04-12 22:58:34 +00:00
David Lawrence
ae6860081f a different fix for the lwres_net_aton problem in lwres_create_addr, that
addresses any alignment issues that might have existed with casting
an unsigned char pointer to a struct pointer.
2001-04-12 22:45:12 +00:00
David Lawrence
79b19f175c added a single static variable declaration to prevent compilers from
complainig about an effectively empty input file.
2001-04-12 22:26:41 +00:00
David Lawrence
de6fe5ebe2 cleared up a const issue with IN6_IS_ADDR_V4MAPPED on some platforms 2001-04-12 21:23:21 +00:00
David Lawrence
ceda09e07a removed stale #define DEBUG that my own comment said I was supposed to remove. 2001-04-12 21:18:14 +00:00
David Lawrence
6f053cd485 use ISC_TF() to set an isc_boolean_t 2001-04-12 21:04:14 +00:00
David Lawrence
4ab0eb3be8 mgr was set but not used in dns_dispatch_detach(); removed it 2001-04-12 21:03:37 +00:00
David Lawrence
947295d886 warning cleanup for HPUX-10.20: trivial unsigned vs sign char pointer issues. 2001-04-12 20:39:04 +00:00
David Lawrence
7944c8c5f7 case unsigned char addrbuf pointer to struct in_addr * when used as second
argument to lwres_net_aton, to quiet compiler warning
2001-04-12 20:23:48 +00:00
David Lawrence
3507ae5d59 #include <time.h> for the utimes() prototype 2001-04-12 19:46:39 +00:00
Mark Andrews
d29ec04e37 checkpoint 2001-04-12 02:32:32 +00:00
Mark Andrews
2f2513df09 checkpoint 2001-04-12 02:14:22 +00:00
Mark Andrews
2fbcc2b863 <sting.h>
bad return from void function
2001-04-12 01:57:35 +00:00
David Lawrence
cace8ff3bd use ISC_MAGIC to define the magic number 2001-04-12 00:37:55 +00:00
David Lawrence
383b800c62 Fixed up iteration problems related to name cleaning. In a nutshell,
the node at the end of a chain always needed to have its reference
count incremented, not only when the iterator was paused.  [RT #1007]
2001-04-11 22:17:38 +00:00
David Lawrence
f3083bc781 In incremental_cleaning_action(), detach the node returned by
dns_dbiterator_current(). [RT #1007]
2001-04-11 22:15:00 +00:00
Brian Wellington
c20ffa38de 808. [func] Add 'rndc flush' to flush the server's cache. 2001-04-11 20:37:50 +00:00
Mark Andrews
e91eeda769 stdio on hpux work around 2001-04-11 08:13:11 +00:00
Mark Andrews
42ca0077ae checkpoint 2001-04-11 04:00:21 +00:00