2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00
Commit Graph

4573 Commits

Author SHA1 Message Date
Michael Graff
8648b6190d correct args to a function 2000-05-10 23:52:42 +00:00
Michael Graff
558ab0f6a8 adapt to the dispatch api changes 2000-05-10 23:43:48 +00:00
Mark Andrews
f4f3f2cf34 167. [bug] Make lack of masters for a slave zone a soft error. 2000-05-10 21:51:17 +00:00
Michael Graff
ca9739800f implement dns_dispatchmgr_t, replacing dns_dispatchlist_t. Use it throughout the library/server. 2000-05-10 21:34:50 +00:00
Michael Graff
f019e00452 Add (commented out) 'must be bound' checking 2000-05-10 21:17:49 +00:00
Andreas Gustafsson
18959172ab check isc_lex_openfile() return value against ISC_R_FILENOTFOUND,
not ISC_R_FAILURE
2000-05-10 18:54:04 +00:00
Andreas Gustafsson
42654cd6bb if keygen and signer are built by default, keysettool and keysigner
should be, too
2000-05-10 18:44:49 +00:00
David Lawrence
2ffe094fab fixed argument type mismatch in dns_c_logchan_getversions call 2000-05-10 18:38:21 +00:00
Olafur Gudmundsson
ff8d15be4e Fixed 3 bugs in keygen,
it overwrote old keys if new key key-id conflicted
	It was generating non null-keys with id==0
	It was not able to generate DSA null keys.
I changed size of maximum RSA key to 2048.
2000-05-10 17:57:53 +00:00
Michael Graff
2968701c3a require that magic numbers be the first item in the structure. 2000-05-10 17:45:45 +00:00
Michael Graff
bc892aec31 implement _find() 2000-05-10 17:26:23 +00:00
Michael Graff
98399fdb3e enable building of dispatchlist.c 2000-05-10 17:25:22 +00:00
Michael Graff
abf30e12ba declare dns_dispatchlist_t here 2000-05-10 17:24:55 +00:00
Michael Graff
86bf5e8c34 add ISC_MAGIC('a','b','c','d') to make specifying magic numbers a bit more
readable
2000-05-10 17:06:57 +00:00
Michael Graff
1cf2ee1ef0 snapshot; dispatch list stuff 2000-05-10 07:28:33 +00:00
Mark Andrews
25d161ae43 Log failures to dump the zone file.
Clear DNS_FLAG_Z_NEEDDUMP after successfully dumping the zone.
2000-05-10 04:47:03 +00:00
David Lawrence
f2fdfe7c42 Silence "end-of-loop condition not reached" warnings from Solaris compiler 2000-05-10 03:33:57 +00:00
David Lawrence
bb6ead0a9e -fno-builtin, not -Wno-builtin, and put it in CFLAGS 2000-05-10 03:02:29 +00:00
David Lawrence
0cdff5948e file versions needs to be signed int, because ISC_LOG_ROLLNEVER is negative 2000-05-10 01:50:58 +00:00
Andreas Gustafsson
c2e880fa8b indicate reason for failure to open configuration file in
error message [RT #61]
2000-05-10 00:37:28 +00:00
Andreas Gustafsson
62890ae20d removed an #if 0 ... #endif section (insted of fixing
the typo in it)
2000-05-10 00:16:09 +00:00
Andreas Gustafsson
3e14b69d19 fixed bugs in previous commit 2000-05-09 23:35:08 +00:00
Andreas Gustafsson
913bc4304d use isc_file_fopen() and isc_file_fclose();
use the logging system, not UNEXPECTED_ERROR()
2000-05-09 23:32:13 +00:00
Andreas Gustafsson
84fcfe530b new logging module DNS_LOGMODULE_MASTERDUMP 2000-05-09 23:31:12 +00:00
Andreas Gustafsson
29446b1149 dns_modules[] was missing dns/request 2000-05-09 23:29:51 +00:00
Andreas Gustafsson
996f4a8bc3 164. [cleanup] Added functions isc_file_fopen(), isc_file_fclose(),
isc_file_fseek(), isc_file_fread(), isc_file_fwrite(),
                        isc_file_fflush(), isc_file_ffsync(), isc_file_remove()
                        to encapsulate nonportable usage of errno and fflush().
2000-05-09 23:19:32 +00:00
Andreas Gustafsson
6a13d6f3c6 Added result codes ISC_R_FILENOTFOUND and ISC_R_FILEEXISTS 2000-05-09 23:10:34 +00:00
David Lawrence
47b26abe77 ensure proper range for argument to ctype functions 2000-05-09 22:22:25 +00:00
David Lawrence
f855bad4a1 fail if "ar" is not found, since the build will fail without it 2000-05-09 18:34:00 +00:00
Michael Sawyer
cefd68008f Host was broken in last commit; fixed here.
Add nslookup.c; non-functional and not compiled by make all.
2000-05-09 18:05:13 +00:00
David Lawrence
e893dce912 fail if "ar" is not found, since the build will fail without it 2000-05-09 17:07:30 +00:00
James Brister
c0fcd6b98b Fixed prototype error in yyparse that only HPUX noticed. 2000-05-09 16:49:50 +00:00
David Lawrence
335b5eb5d0 compile with -fullwarn on irix. 2000-05-09 16:11:37 +00:00
David Lawrence
8a47ea1dad a few lingering (mem|str)(cmp|cpy|len) missing prototypes 2000-05-09 15:02:20 +00:00
David Lawrence
d03ee55286 don't try to build getnet.o, since getnet.c no longer exists 2000-05-09 15:01:15 +00:00
David Lawrence
fc024be774 argument to tolower() cast to unsigned char 2000-05-09 12:07:32 +00:00
Mark Andrews
8b61d20120 convert TRACE -> logging: ISC_LOG_DEBUG(3) 2000-05-09 05:12:49 +00:00
Mark Andrews
17d0495c33 160. [cleanup] getnet*() are not going to be implemented at this
stage.
2000-05-09 02:21:58 +00:00
David Lawrence
5daef09d45 use EXT_CFLAGS to pass -Wno-builtin to gcc, allowing missing prototypes for
functions that have builtins to be properly noticed.
2000-05-09 01:54:35 +00:00
David Lawrence
9752cb7aa6 Provide a mechanism for passing in C flags at make's run-time:
user can define EXT_CFLAGS on either the command line or in the environment.
2000-05-09 01:49:40 +00:00
David Lawrence
681bd61239 isc/{unix,win32}/include/isc/ipv6.h moved to isc/include/isc/ipv6.h 2000-05-09 00:55:59 +00:00
David Lawrence
1601abb30a ISC_NET_(HAVESALEN|NEEDPORTT) -> ISC_PLATFORM_$1 2000-05-09 00:51:33 +00:00
David Lawrence
1a36eb1209 Silence HP/UX warnings:
cc: "mem.c", line 173: warning 714: Function "malloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 180: warning 714: Function "malloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 188: warning 714: Function "free_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 194: warning 714: Function "free_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 205: warning 714: Function "malloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 212: warning 714: Function "malloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 222: warning 714: Function "realloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 228: warning 714: Function "realloc_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 236: warning 714: Function "free_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 242: warning 714: Function "free_debug_func" called with no prototype or definition in scope.
cc: "mem.c", line 258: warning 714: Function "set_debug_options_func" called with no prototype or definition in scope.
cc: "mem.c", line 264: warning 714: Function "get_debug_options_func" called with no prototype or definition in scope.
2000-05-08 23:58:23 +00:00
David Lawrence
f5add515a3 Quiet HP/UX warnings:
cc: "stack.c", line 231: warning 714: Function called with no prototype or definition in scope.
cc: "stack.c", line 275: warning 714: Function "func" called with no prototype or definition in scope.
2000-05-08 23:53:48 +00:00
David Lawrence
2a8fc4e9f7 Quiet HP/UX warnings:
cc: "lhash.c", line 294: warning 714: Function "func" called with no prototype or definition in scope.
cc: "lhash.c", line 401: warning 714: Function called with no prototype or definition in scope.
cc: "lhash.c", line 422: warning 714: Function called with no prototype or definition in scope.
2000-05-08 23:50:37 +00:00
David Lawrence
acbec87f20 Quiet HP/UX warning:
cc: "algchoic.h", line 74: warning 617: Redeclaration of tag "B_AlgorithmInfoType" ignored.
cc: "algchoic.h", line 74: warning 617: Redeclaration of tag "B_AlgorithmInfoType" ignored.

by removing:

struct B_AlgorithmInfoType;

because balgmeth.h already defines that struct tag.
(So does balg.h, but that isn't causing warnings.)
2000-05-08 23:41:59 +00:00
David Lawrence
8b9ad57c12 Comment about unavoidable HP/UX compiler warning:
warning 541: Integer overflow during conversion.
when their own SIO* macros are used in ioctl calls.
2000-05-08 23:36:19 +00:00
Michael Sawyer
f17b62a64b Added +bufsize (EDNS0) option to dig
Added 1.2.3.4-> 4.3.2.1.in-addr.arpa translation to host
Added +defname, +aaonly, +cmd, +nostats, +qr flags to dig
Reviewed (and changed) result codes of dig.
2000-05-08 22:51:08 +00:00
David Lawrence
0c5a46afed comment about why unistd.h is required 2000-05-08 21:10:35 +00:00
James Brister
4c5651ee04 Message for config file redefinition change. 2000-05-08 20:31:55 +00:00