Commit Graph
26645 Commits
Author SHA1 Message Date
Michael Sawyer 844eaa56d6 Minor error in return codes fixed in dighost.c
Additional functionality to nslookup
2000-05-16 17:53:35 +00:00
David Lawrence 876753d5ce put SHUTUP_SPUTAUX in acconfig.h 2000-05-16 13:08:31 +00:00
David Lawrence 600cfa2ba4 184. [cleanup] Variables/functions which began with two leading
underscores were made to conform to the ANSI/ISO
                        standard, which says that such names are reserved.
2000-05-16 05:19:47 +00:00
David Lawrence 6d8cdbaff4 185. [bug] Fixed up handling of ISC_MEMCLUSTER_LEGACY. Several
public functions did not have an isc__ prefix, and
                        referred to functions that had previously been
                        renamed.

 184.   [cleanup]       Variables/functions which began with two leading
                        underscores were made to conform to the ANSI/ISO

function declaration and comment reformatting in accordance with coding
style document.

check_overrun conditionally compiled based on ISC_MEM_FILL and
ISC_MEM_CHECKOVERRUN to avoid compiler warnings about being defined
but not used if one of those two CPP symbols is not defined.
2000-05-16 05:17:31 +00:00
David Lawrence a120694df8 conform variable names in isc_.*region_consume to ANSI/ISO standard 2000-05-16 03:37:40 +00:00
David Lawrence 2918b5bda6 ISC_LOG_PRINTTAG/isc_log_settag()/isc_log_gettag() added 2000-05-16 03:37:39 +00:00
David Lawrence cb4a97bb1c added missing config.h 2000-05-16 03:00:53 +00:00
Mark Andrews 5273184ae1 Add isc_file_settime() set access and modification times. 2000-05-16 02:13:08 +00:00
Andreas Gustafsson b04adaa782 simplified 2000-05-16 01:24:50 +00:00
Andreas Gustafsson 02b4e9aef2 be compatible with new dnssec tool command line argument
usage; bug fixes
2000-05-16 01:22:45 +00:00
Andreas Gustafsson 98225f5d5e added files missing from system test checkin 2000-05-16 01:20:39 +00:00
Brian Wellington bb9b90250b additional sanity checking of input, better error reporting 2000-05-16 00:54:59 +00:00
Andreas Gustafsson 34d6a8e909 accept %p formats with or without a leading 0x 2000-05-16 00:20:11 +00:00
Brian Wellington fcba8f29fe New commandline parameters for dnssec tools 2000-05-16 00:03:12 +00:00
Brian Wellington 3de75141d2 Modified commandline parameters 2000-05-16 00:02:39 +00:00
Brian Wellington f6afa4ac95 Added dst_key_buildfilename and dst_key_parsefilename 2000-05-15 23:18:13 +00:00
Michael Sawyer f004babe63 Small bug fix... Forgot grep -v grep in the script. 2000-05-15 23:15:18 +00:00
Brian Wellington 1d58763c26 Added dst_key_parsefilename 2000-05-15 23:14:42 +00:00
Brian Wellington 70cd89aadb compiler warning 2000-05-15 23:14:12 +00:00
Andreas Gustafsson c13b8351b4 typo 2000-05-15 23:09:42 +00:00
Andreas Gustafsson 0e9dcd5480 added system tests 2000-05-15 22:53:15 +00:00
Michael Sawyer 43383a70d3 A small perl-based nanny program I used to keep bind running on my system.
It checks both that a process is running and uses dig to make sure it is
answering queries.  It's definately simple and probably a stop-gap solution.
2000-05-15 21:50:39 +00:00
Brian Wellington c5de87b086 bug fixes from the last commit 2000-05-15 21:30:45 +00:00
David Lawrence 34b394b43e DNS_R_RANGE -> ISC_R_RANGE 2000-05-15 21:14:38 +00:00
Brian Wellington ad418d66f8 style fixes, changes to output format, minor bug fixes 2000-05-15 21:06:41 +00:00
Brian Wellington 94a7e85857 Export dst_key_buildfilename and make various dst functions call it. 2000-05-15 21:02:39 +00:00
David Lawrence c5c3b17a0a added ISC_R_RANGE 2000-05-15 20:37:06 +00:00
Michael Sawyer c95a89b433 Added dns_message_sectiontotext() and dns_message_totext() functions. 2000-05-15 17:49:57 +00:00
James Brister cde7793c7f Changes 175 through 179 2000-05-15 12:46:20 +00:00
James Brister 4932a54ed6 - options named.conf statement *must* now come before any zone or view
statements.

- Post-load of named.conf check verifies a slave zone has non-empty list
  of masters defined.

- New per-zone boolean:

	enable-zone yes | no ;

- intended to let a zone be disabled without having to comment out the
  entire zone statement.

- New global and per-view option:

	max-cache-ttl number

- New global and per-view option:

	addition-data internal | minimal | maximal;
2000-05-15 12:36:33 +00:00
Andreas Gustafsson 27fd91edc3 enabled previously #if 0'ed-out code to bind resolver sockets to
the wildcard address, as a temporary (?) fix for the server failing with
'socket is not bound' during startup
2000-05-15 05:09:13 +00:00
Andreas Gustafsson 33e0be00e3 isc_sockaddr_any6() set sockaddr->length incorrectly 2000-05-15 04:47:20 +00:00
Andreas Gustafsson 8d6794a163 removed #ifdef'ed-out function dns_zone_manage() 2000-05-14 23:23:37 +00:00
David Lawrence 02b152eb28 line 356: remark(1174): parameter "msg" was declared but never referenced
line 356: remark(1174): parameter "dev" was declared but never referenced

This is true when ISC_NET_BSD44MSGHDR is not defined.  UNUSED()s were added.

line 1580: remark(1552): variable "task" was set but never used
line 1670: remark(1552): variable "task" was set but never used

I removed the stack variable and its assignment in each case.

line 2915: remark(1552): variable "ret" was set but never used

It was apparent that the variable was meant to be the return value
of isc_socket_getsockname, so the return statement was changed to use it.

Also ...

Changed function declarations to ISC coding style.

Wrapped two lines that were wider than column 79.

Removed two UNUSED() macros for variables that were no longer unused.
2000-05-14 22:35:45 +00:00
Andreas Gustafsson bbf6673828 use isc_sockaddr_format() instead of a static function doing
the same thing
2000-05-14 20:52:35 +00:00
Andreas Gustafsson 527ea00c17 174. [func] New public function isc_sockaddr_format(), for
formatting socket addresses in log messages.
2000-05-14 20:42:43 +00:00
Andreas Gustafsson f7d85bae58 Keep a queue of zones waiting for zone transfer quota so that a new
transfer can be dispatched immediately whenever quota becomes available
2000-05-14 20:01:34 +00:00
David Lawrence de8661e517 grp.h is required for initgroups() prototype on IRIX. 2000-05-14 13:52:53 +00:00
David Lawrence 175b76e191 line 324: remark(1498): no prototype for the call to create_managers
line 383: remark(1498): no prototype for the call to setup
line 405: remark(1498): no prototype for the call to cleanup
The missing prototypes were added.
2000-05-14 13:47:17 +00:00
David Lawrence 6087c3dda7 Ah, oops, wrong prototype for t_sighandler.
(Condition signaled: time for bed.)
2000-05-14 04:08:03 +00:00
David Lawrence b5d263a378 line 1369: warning(1185): enumerated type mixed with another type:
ISC_TF() added to the return value of an isc_boolean_t function.
2000-05-14 04:02:10 +00:00
David Lawrence a349b8220d line 89: remark(1693): unprototyped function redeclared with prototype
line 684: remark(1692): prototyped function redeclared without prototype
line 700: remark(1692): prototyped function redeclared without prototype
Prototypes fixed.

line 331: remark(1552): variable "n" was set but never used.
Variable removed.
2000-05-14 03:58:15 +00:00
David Lawrence 6c6ad82aca line 454: remark(1552): variable "delim" was set but never used.
It was removed and the function call that set it (getword) was cast to void.
In the context in which it was being used, the return value was not needed.
2000-05-14 03:53:53 +00:00
David Lawrence 221aacd5ff iline 57: remark(1692): prototyped function redeclared without prototype
line 84: remark(1692): prototyped function redeclared without prototype
line 137: remark(1692): prototyped function redeclared without prototype

The missing prototypes were added.
2000-05-14 03:52:36 +00:00
David Lawrence 969dca4c16 line 272: remark(1552): variable "inner" was set but never used.
Now used in place of more complex expression.
2000-05-14 03:51:39 +00:00
David Lawrence c06afcfe58 line 126: remark(1692): prototyped function redeclared without prototype.
Prototype added.
2000-05-14 03:51:07 +00:00
David Lawrence e718ce9939 line 647: remark(1552): variable "connection" was set but never used.
Removed variable.
2000-05-14 03:50:45 +00:00
David Lawrence 3e3a8b051d "lwconfig.c", line 438: remark(1506): implicit conversion from "long" to
"unsigned char":  rounding, sign extension, or loss of accuracy may
          result

Fixed by ensuring suitable range before assignment.
2000-05-14 03:34:33 +00:00
David Lawrence 80056496f0 line 307: remark(1692): prototyped function redeclared without prototype.
Fixed.
2000-05-14 03:26:31 +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