Commit Graph

5187 Commits

Author SHA1 Message Date
Andreas Gustafsson
c3ebcedbe5 Add isc_file_progname(), with trivial POSIX implementation, and
call it from main().  A separate WIN32 implementation will be needed.
2001-05-08 19:47:55 +00:00
Mark Andrews
dbd6145418 sync 2001-05-08 07:07:11 +00:00
Mark Andrews
dd9b814ace strerror 2001-05-08 07:06:01 +00:00
Mark Andrews
1c81477123 oops2 2001-05-08 06:30:08 +00:00
Mark Andrews
8f7edcb227 more IPv6 macros 2001-05-08 06:25:30 +00:00
Mark Andrews
fcfb81e3c4 oops 2001-05-08 05:18:26 +00:00
Mark Andrews
ff8bc68af4 add various IPv6 macros 2001-05-08 05:15:13 +00:00
Mark Andrews
74186b65a3 add stdio.h 2001-05-08 04:38:28 +00:00
Mark Andrews
cf186bf745 add netbsd 2001-05-08 04:02:54 +00:00
Andreas Gustafsson
9dafd058e3 implemented 'rndc reconfig' 2001-05-07 23:34:24 +00:00
Mark Andrews
25ea25c811 undo part of bind8-823-v6-20010204a.diff 2001-05-07 06:07:44 +00:00
Danny Mayer
94ebc518d0 buffer request needs cast for win32 2001-05-06 02:24:08 +00:00
Danny Mayer
db1bfc3151 htons needs cast for win32 2001-05-06 02:23:06 +00:00
Brian Wellington
d144ea1d1c isc_file_basename should return a (const char *) 2001-05-05 02:47:21 +00:00
David Lawrence
e40cd7f5c9 preserve a reference to the node lock across a call to no_references() in
detachnode
2001-05-05 02:42:38 +00:00
Andreas Gustafsson
bdb60248c3 oops, removed the wrong declaration 2001-05-04 23:57:22 +00:00
Andreas Gustafsson
a08f7f4a6c frombuffer() was declared 'static' but defined
without 'static'
2001-05-04 17:57:33 +00:00
Andreas Gustafsson
2788f21727 don't install the now-nonexistent <dns/namedconf.h> 2001-05-04 17:08:43 +00:00
Brian Wellington
f2194a8ba9 implement isc_file_basename() 2001-05-03 18:59:30 +00:00
Brian Wellington
55ff3f6e65 remove prototypes for nonexistant functions [RT #1240] 2001-05-03 18:40:33 +00:00
Brian Wellington
3f8a9e5196 remove unused byte swapping macros and the associated non-portable includes
[RT #1239]
2001-05-03 18:38:17 +00:00
Brian Wellington
de32cbd34e remove a cut-and-paste-o 2001-05-02 19:25:19 +00:00
Brian Wellington
d2aebe24c4 Allocate the initial buffer for rdata based on the length of the string, to
avoid reallocations and annoying messages.
2001-05-02 18:58:56 +00:00
Andreas Gustafsson
af46049567 removed <dns/namedconf.h>, which pertained to the old
configuration parser
2001-05-02 17:39:51 +00:00
Bob Halley
1a286a6613 In certain cases, the resolver's attempts to restart an address lookup
at the root could cause the fetch to deadlock (with itself) instead of
restarting. [RT #1225]
2001-05-02 17:29:17 +00:00
Brian Wellington
3840dba289 Comment a particularly subtle bit of code. 2001-05-02 00:03:12 +00:00
Brian Wellington
05183bbc4f Signing with a large key didn't work since the static output buffer was too
small; use a dynamic buffer instead.  Also, comment a section
2001-05-02 00:02:28 +00:00
Andreas Gustafsson
570234616c when following A6 chains, glue was inadvertantly ignored 2001-05-01 23:17:48 +00:00
Andreas Gustafsson
784d78b831 commented 2001-04-30 18:27:10 +00:00
Andreas Gustafsson
1dbec28030 removed declarations of nonexistent functions 2001-04-30 18:09:31 +00:00
Tatuya JINMEI 神明達哉
931f35a927 removed one more 'ifdef INET6'. 2001-04-30 18:08:54 +00:00
Tatuya JINMEI 神明達哉
291e6be74f some cleanups and clarifications;
- removed 'ifdef INET6' (libbind's getaddrinfo should always be buildable
   with the INET6 part.)
 - use EAI_NONAME instead of EAI_NODATA (this is an API issue.  I'll raise
   it at the group working on the API).
 - use h_errno instead of __h_errno.
 - clarification on using interface names as link IDs of IPv6 link-local
   addresses.  (not all OSes support this.)
2001-04-30 17:46:58 +00:00
Tatuya JINMEI 神明達哉
520717e82b supported the IPv6 scoped addresses format. 2001-04-30 17:35:17 +00:00
Tatuya JINMEI 神明達哉
4df5fde1a7 - code clenaups (removed redundant macros/blank lines, comment clarifications
etc.)
- use EAI_xxx error code according to draft-ietf-ipngwg-rfc2553bis-03.
  (we may still have to reconsider EAI_NODATA - this is an API issue)
2001-04-30 17:34:02 +00:00
Andreas Gustafsson
1ed0723a1f a pointer argument used to return an "int" value into an "int"
variable is better defined as "int *" than "unsigned int *"
2001-04-28 01:08:07 +00:00
Andreas Gustafsson
9762fd29cc DNAME now has an RFC 2001-04-27 21:02:01 +00:00
Mark Andrews
ecaedd50f4 817. [func] Adjust timeouts for dialup zone queries. 2001-04-27 02:34:18 +00:00
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