2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

34 Commits

Author SHA1 Message Date
Andreas Gustafsson
b7e031d517 435. [bug] dns_zone_dump() overwrote existing zone files
rather than writing to a temporary file and
                        renaming.  This could lead to empty or partial
                        zone files being left around in certain error
                        conditions involving the initial transfer of a
                        slave zone, interfering with subsequent server
                        startup. [RT #282]
2000-09-08 21:47:03 +00:00
Andreas Gustafsson
593cb00bd1 rewrote 383. to reduce code duplication and increase functionality:
now all records are printed in a sorted order, not just the SOA and NS and
their SIGS
2000-08-16 22:33:32 +00:00
Brian Wellington
674f1cfb1d 383. [func] When writing a master file, print the SOA and NS
records (and their SIGs) before other records.
2000-08-10 01:02:00 +00:00
Andreas Gustafsson
7bf91d95eb tab sets for default and explicitttl styles were
swapped (?)
2000-08-07 19:54:50 +00:00
Brian Wellington
19f4d25fd5 Add dns_master_dumpnode, dns_master_dumpnodetostream, and
dns_master_style_explicitttl.
2000-08-03 19:50:12 +00:00
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Andreas Gustafsson
8edbb66acd #include <errno.h> no longer needed now that we use isc_file_* 2000-06-02 00:05:30 +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
Andreas Gustafsson
ec7493d8d1 172. [bug] $TTL directive was sometimes missing from dumped
master files because totext_ctx_init() failed to
                        initialize ctx->current_ttl_valid.
2000-05-14 02:31:09 +00:00
David Lawrence
d8e34837cd isc_file_{stdiofunc} -> isc_stdio_* 2000-05-11 16:14:05 +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
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Michael Graff
68e4926b22 namespace changes -- on NetBSD at least, libdns.a is now clean (excepting yy* symbols) 2000-04-28 01:15:58 +00:00
Bob Halley
364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +00:00
David Lawrence
6e49e91bd0 103. [func] libisc buffer API changes for <isc/buffer.h>:
Added:
                                isc_buffer_base(b)          (pointer)
                                isc_buffer_current(b)       (pointer)
                                isc_buffer_active(b)        (pointer)
                                isc_buffer_used(b)          (pointer)
                                isc_buffer_length(b)            (int)
                                isc_buffer_usedlength(b)        (int)
                                isc_buffer_consumedlength(b)    (int)
                                isc_buffer_remaininglength(b)   (int)
                                isc_buffer_activelength(b)      (int)
                                isc_buffer_availablelength(b)   (int)
                        Removed:
                                ISC_BUFFER_USEDCOUNT(b)
                                ISC_BUFFER_AVAILABLECOUNT(b)
                                isc_buffer_type(b)
                        Changed names:
                                isc_buffer_used(b, r) ->
                                        isc_buffer_usedregion(b, r)
                                isc_buffer_available(b, r) ->
                                        isc_buffer_available_region(b, r)
                                isc_buffer_consumed(b, r) ->
                                        isc_buffer_consumedregion(b, r)
                                isc_buffer_active(b, r) ->
                                        isc_buffer_activeregion(b, r)
                                isc_buffer_remaining(b, r) ->
                                        isc_buffer_remainingregion(b, r)

                        Buffer types were removed, so the ISC_BUFFERTYPE_*
                        macros are no more, and the type argument to
                        isc_buffer_init and isc_buffer_allocate were removed.
                        isc_buffer_putstr is now void (instead of isc_result_t)
                        and requires that the caller ensure that there
                        is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Andreas Gustafsson
c0d0a59d1b removed newlines from UNEXPECTED_ERROR() messages 2000-02-17 19:58:59 +00:00
Bob Halley
7d32c065c7 update copyright 2000-02-03 23:50:32 +00:00
Mark Andrews
fb5363b897 dns_master_dumptostream() from static to public. 2000-01-31 01:51:26 +00:00
Michael Graff
3ddd814a97 dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break. 1999-12-23 00:09:04 +00:00
Michael Graff
58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00
Bob Halley
bad8294771 add const to filename args 1999-10-25 18:42:09 +00:00
Bob Halley
980dc59626 Do not try to dump negative cache entries. 1999-10-16 00:45:59 +00:00
Bob Halley
10ba7f6f56 lint 1999-10-05 19:50:53 +00:00
Bob Halley
c801dd02ed add CR after each question; wrap some long lines 1999-08-20 01:18:52 +00:00
Bob Halley
2e715dbdc2 fix spelling error 1999-07-24 00:59:55 +00:00
Bob Halley
544f5611e1 lint 1999-06-24 22:26:50 +00:00
Bob Halley
42a5f9c8f5 lint from alpha build 1999-06-24 17:55:41 +00:00
Andreas Gustafsson
0c8649cea9 further hiding of dns_rdata_textctx_t 1999-06-09 07:13:33 +00:00
Andreas Gustafsson
7ab0e69f61 dns_rdata_textctx_t is internal and should not appear in dns_rdata_totext() argument list 1999-06-08 20:47:31 +00:00
Andreas Gustafsson
5fc7ba3e1a added dns_db_dump(), $DATE, and supporting changes 1999-06-08 10:35:23 +00:00