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

4953 Commits

Author SHA1 Message Date
Michael Sawyer
36e4d8878c Clean up uninitialized variable bug 2000-05-25 17:24:57 +00:00
David Lawrence
05e3940191 made operand to left shift in ISC_OFFSET_MAXIMUM unsigned to avoid
integer overflow.
2000-05-25 16:44:25 +00:00
David Lawrence
11836b7a55 missing isc_buffer_add()s after isc_buffer_init()s on a string were causing
tests to fail
2000-05-25 16:21:36 +00:00
Andreas Gustafsson
c90b021ea3 renamed dns_zone_setnotifyalso() to dns_zone_setalsonotify(),
to be consistent with the name of the config file option
2000-05-25 15:34:26 +00:00
David Lawrence
b27d7383f4 prototype of *_pop_free made to conform with existing prototype of sk_pop_free 2000-05-25 14:20:05 +00:00
Andreas Gustafsson
4f7ced3f4a use isc_sockaddr_any(), isc_sockaddr_any6() 2000-05-25 05:21:12 +00:00
Andreas Gustafsson
f1248b6383 use isc_sockaddr_any(), isc_sockaddr_any6() 2000-05-25 05:13:19 +00:00
Andreas Gustafsson
1b106e224d typo: *lcfgp points to a logging configuration
not a logging context
2000-05-25 05:07:21 +00:00
David Lawrence
ebece5658f added prototypes to pointers-to-functions for sk_pop_free and lh_doall_arg
to make both IRIX and HP/UX happy.
2000-05-25 04:02:47 +00:00
David Lawrence
923d87d9f4 use ISC_TF() to return an isc_boolean_t from an expression 2000-05-25 03:57:20 +00:00
David Lawrence
e13efecaa5 made journal_pos_t.offset be an isc_offset_t, resolving some
"comparison between signed and unsigned" warnings and allowing for 64 bit
offsets on machines that support it (though there is an issue, there
with journal_rawpos_t being only 4 bytes.)
2000-05-25 03:41:12 +00:00
David Lawrence
6deb631b20 208. [func] Added ISC_OFFSET_MAXIMUM for the maximum value
of an isc_offset_t.
2000-05-25 03:34:34 +00:00
David Lawrence
db9628e897 changed "c" stack variable from char to unsigned char to quiet Solaris 5.8
warnings that "subscript has type char".
2000-05-25 01:08:07 +00:00
Brian Wellington
5d83b561ad Added dns_tsigrcode_totext/fromtext 2000-05-25 00:46:32 +00:00
Michael Sawyer
6afdb1e5e4 Clean up some unused variables... 2000-05-25 00:01:30 +00:00
Brian Wellington
b1d234eb75 The dnssec tools properly use the logging subsystem and share more code. 2000-05-24 23:54:43 +00:00
David Lawrence
1ee6767f40 explicitly cast to int four assignments of an unsigned long expression to
and int variable.  in three of the four cases this cast is questionable,
as suitable range had not been checked, but the situation is no worse
than without the casts.
2000-05-24 23:42:01 +00:00
Michael Sawyer
0eb5cf7351 Fix lookup limit.
Fix non-closing of sockets when finished.
2000-05-24 23:39:30 +00:00
David Lawrence
cf9eeff3dc added prototype for pop_info 2000-05-24 23:39:13 +00:00
David Lawrence
c175eace1d made a couple of definition prototypes consistent with their
declaration prototypes.
2000-05-24 23:38:33 +00:00
David Lawrence
36024add69 made "err" in ssleay_rand_pseudo_bytes unsigned long to match the return value
of ERR_peek_error().
2000-05-24 23:36:35 +00:00
Brian Wellington
a9bc95f22e dst now stores the key name as a dns_name_t, not a char *. 2000-05-24 23:13:32 +00:00
David Lawrence
8a01e235df this program does not use anything from libomapi 2000-05-24 22:19:41 +00:00
David Lawrence
bcea992514 also turn off IRIX warning 1552, variable set but not used, in dnssafe,openssl 2000-05-24 22:16:34 +00:00
David Lawrence
f419977986 use NULL, not NULL_PTR, when casting to a context that requires a
pointer-to-function instead of pointer-to-object
2000-05-24 21:50:10 +00:00
David Lawrence
0af3cb7703 ignore Makefile 2000-05-24 21:46:46 +00:00
David Lawrence
553727079c one more macro (FAIL()) where ISC_R_SUCCESS needed to be tested against a
variable instead of a constant.
2000-05-24 21:41:14 +00:00
David Lawrence
826c281a05 Solaris 5.6 gives this warning about a left shift to set the high bit:
warning: integer overflow detected: op "<<"
unless the operand is unsigned/
2000-05-24 21:36:01 +00:00
David Lawrence
f105c1cb72 use IRIX_DNSSEC_WARNINGS_HACK to shut up missing prototype warnings 2000-05-24 20:04:59 +00:00
David Lawrence
3c8e458ed2 205. [cleanup] On IRIX, turn off warning 1692 ("prototyped function
redeclared without prototype") when compiling in
                        the lib/dns/sec/{dnssafe,openssl} directories, which
                        are code imported from outside sources.

... and on HP/UX, pass -Wl,+vnocompatwarnings as part of LIBS, no CC,
so it only appears on the command line when linking.
2000-05-24 20:04:47 +00:00
Michael Sawyer
17747cd5ee Clean up warnings I accidentally left in in previous commit.
Add resetting of lookup counter between different name searches.
2000-05-24 19:49:51 +00:00
David Lawrence
7ffc4c63ac 204. [cleanup] On HP/UX, Pass +vnocompatwarnings to the linker
to quiet the warnings that "The linked output may not
                        run on a PA 1.x system."
2000-05-24 19:42:00 +00:00
Michael Graff
8de5527f74 move to expired directory, even though there is no current draft now. 2000-05-24 19:30:01 +00:00
Michael Sawyer
194de894f0 Slight change to printing of \n's. 2000-05-24 19:28:31 +00:00
Michael Sawyer
932b781b81 Modify dig to use message_*totext() routines. 2000-05-24 19:27:01 +00:00
David Lawrence
6b554f7f0d #include <stdlib.h> /* Required on BSD/OS 3.1 for abort() used in va_arg(). */ 2000-05-24 18:43:29 +00:00
David Lawrence
e3db271c8d removed non-existent directory ./unix/include from CINCLUDES 2000-05-24 18:39:40 +00:00
David Lawrence
bad71acec3 removed non-existing directory ./include from CINCLUDES 2000-05-24 18:38:43 +00:00
David Lawrence
94296c8d5b quiet HP/UX and Solaris compilers by testing "result" variable (as opposed to
"code" constant) against ISC_R_SUCCESS in FAILC() and FAILS() macros.
2000-05-24 18:25:35 +00:00
Michael Sawyer
c7868e2262 Modify dns_message_totext, dns_message_sectiontotext,
dns_message_pseudosectiontotext to use bitfields instead of flags
2000-05-24 18:17:53 +00:00
Michael Graff
1d51470051 commit newer draft 2000-05-24 17:44:21 +00:00
Michael Graff
599c6d44f4 resurrect dead files for Andreas 2000-05-24 17:41:12 +00:00
Brian Wellington
19d1b1667d notify and zone soa queries are now tsig signed when appropriate. 2000-05-24 17:30:41 +00:00
Michael Sawyer
d044d9891d Fix CHAOS class.
Changed rdatatype printing in host.c.
Removed unexecuted code in dighost.c
2000-05-24 17:26:01 +00:00
Brian Wellington
541b1b23e9 actually use the verbose variable 2000-05-24 17:13:29 +00:00
David Lawrence
20b20b2394 202. [func] isc_lex_getsourceline() changed from returning int
to returning unsigned long, the type of its underlying
                        counter.
2000-05-24 15:07:59 +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
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
David Lawrence
e38d22f566 fixed closing comment error introduced by my last revision 2000-05-24 05:02:19 +00:00
David Lawrence
2fda9d9e1b conform wrapper symbol to ISC style. include isc/result.h for isc_result_t. 2000-05-24 04:59:02 +00:00