Commit Graph
102 Commits
Author SHA1 Message Date
Automatic Updater 2a6997e72c update copyright notice 2009-01-19 23:46:17 +00:00
Mark Andrews 0f4ec602dd spelling 2009-01-19 00:36:29 +00:00
Automatic Updater bd19247e03 update copyright notice 2008-09-25 04:01:36 +00:00
Mark Andrews cbec5ee72c 2453. [bug] Remove NULL pointer dereference in dns_journal_print().
[RT #18316]
2008-09-25 02:09:08 +00:00
Mark Andrews 7d9a3d30af 2230. [bug] We could INSIST reading a corrupted journal.
[RT #17132]
2007-09-07 05:21:41 +00:00
Mark Andrews 77a700dfcb silence warning message 2007-09-02 23:00:24 +00:00
Automatic Updater 2b562ba346 update copyright notice 2007-08-30 23:46:18 +00:00
Mark Andrews b318fda538 2224. [bug] Defer journal compaction if a xfrin is in progress.
[RT #17119]

2223.   [bug]           Make a new journal when compacting. [RT #17119]
2007-08-30 05:15:03 +00:00
Mark Andrews e6988ed649 silence compiler warnings [RT #15562] 2005-11-03 23:02:24 +00:00
Mark Andrews 83995ba83a 1883. [port] sunos: portability fixes. [RT #14814] 2005-06-08 02:10:35 +00:00
Mark Andrews 8bf73a23f6 1855. [bug] ixfr-from-differences was failing to detect changes
of ttl due to dns_diff_subtract() was ignoring the ttl
                        of records.  [RT #14616]
2005-06-07 02:02:11 +00:00
Mark Andrews e8f92bfe9c update copyright notice 2005-04-29 00:17:24 +00:00
Rob Austein 372edff338 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 05:02:59 +00:00
Mark Andrews 441199c960 1722. [bug] Don't commit the journal on malformed ixfr streams.
[RT #12519]

1721.   [bug]           Error message from the journal processing were not
                        always identifing the relevent journal. [RT #12519]
2004-09-16 04:56:02 +00:00
Mark Andrews ff9af122db 1638. [bug] "ixfr-from-differences" could generate a REQUIRE
failure if the journal open failed. [RT #11347]
2004-05-14 05:25:26 +00:00
Mark Andrews dad5c123aa 1631. [bug] dns_journal_compact() could sometimes corrupt the
journal. [RT #11124]
2004-05-11 22:23:37 +00:00
Mark Andrews dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews 2047977ce2 1586. [func] "check-names" is now implemented. 2004-02-27 20:41:51 +00:00
Mark Andrews 0b75a2dd3b 1252. [func] Report the current serial with periodic commits when
rolling forward the journal.
2002-07-22 02:06:04 +00:00
Andreas Gustafsson 1f1d36a87b Check return values or cast them to (void), as required by the coding
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Mark Andrews 1094dec52a 1052. [bug] Journals were not being created in binary mode
resulting in "journal format not recognized" error
                        under Windows NT/2000.  [RT #1889]
2001-10-15 04:47:55 +00:00
Mark Andrews 5fe1a246cf replace common code in dns_journal_commit by calling index_to_disk().
remove redundant call to index_to_disk() from dns_journal_compact().
2001-09-15 07:16:39 +00:00
Andreas Gustafsson db3822841c failures in dns_db_diff() could cause the server to leak
memory
2001-09-12 18:45:02 +00:00
Danny Mayer aa7638fce5 Fix some signed/unsigned mismatches when comparing offsets 2001-09-04 04:14:31 +00:00
Mark Andrews 53e3724e23 dns_journal_compact() 2001-08-30 05:04:18 +00:00
Mark Andrews 907ec2c618 952. [bug] The server required manual intervention to serve the
affected zones if it died between creating a journal
                        and committing the first change to it.
2001-08-06 02:10:59 +00:00
David Lawrence 92ef1a9b9d use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land 2001-06-04 19:33:39 +00:00
Andreas Gustafsson e7a4f58d55 833. [cleanup] Moved dns_soa_*() from <dns/journal.h> to
<dns/soa.h>, and extended them to support
			all the integer-valued fields of the SOA RR.
2001-05-21 23:56:34 +00:00
Andreas Gustafsson 1242c132a8 removed comment that was no longer correct 2001-05-17 18:14:36 +00:00
Mark Andrews 3bed75bb2d silence compiler 2001-01-24 07:12:56 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Andreas Gustafsson 642e583687 ...and in two different ways, at that 2000-12-22 23:47:00 +00:00
Andreas Gustafsson e0a90d7579 journal index array was corrupted on write 2000-12-22 23:37:03 +00:00
Brian Wellington 78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Brian Wellington 7d43914b55 remove unused includes 2000-12-09 03:09:20 +00:00
Brian Wellington 911ed0d3be Split journal.[ch] into journal.[ch] and diff.[ch] 2000-12-09 02:17:12 +00:00
Mark Andrews 168ec3b800 Check ttl when adding/subtracting.
New add flag DNS_DBADD_EXACTTTL.
2000-12-07 19:51:58 +00:00
Mark Andrews f8abaa0fae Used a unsigned int rather than a boolean to indicate subtrations making
the API more consistant between dns_db_{add,subtract}rdataset(),
dns_rdataslab_{merge,subtract}().

Adjust previous CHANGES to reflect above as this is not yet end user visible.

Add missing CHANGES entry for add/merge.
2000-12-01 01:22:45 +00:00
Mark Andrews 012c6d0b91 585. [func] dns_db_addrdataset() and and dns_rdataslab_merge()
now support 'exact' additions in a similar manner to
                        dns_db_subtractrdataset() and dns_rdataslab_subtract().
2000-11-30 13:19:09 +00:00
Brian Wellington 942d1a339b Decompression contexts now take a type instead of the "strict" boolean
value - the type can be "any", "strict", or "none".  This fixes potential
problems with compression in unknown rr types.
2000-11-14 23:29:55 +00:00
Mark Andrews 368b37b616 dns_rdata_invalidate -> dns_rdata_reset 2000-10-31 03:22:05 +00:00
Mark Andrews c03bb27f06 532. [func] Implement DNS UPDATE pseudo records using
DNS_RDATA_UPDATE flag.

 531.   [func]          Rdata really should be initalized before being
                        assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
                        dns_rdata_clone(), dns_rdata_fromregion()),
                        check that it is.
2000-10-25 04:26:57 +00:00
Mark Andrews cf573ce6fb More ISC_LINK_INIT fixes. 2000-10-20 13:29:37 +00:00
Mark Andrews 5e589b5356 Uninitalised link fixes, batch 1. 2000-10-20 02:21:58 +00:00
Mark Andrews b55c30f2de 525. [func] New arguement 'exact' for dns_db_subtractrdataset(),
and dns_rdataslab_subtract() requesting that the RR's
                        must exist prior to deletion.  DNS_R_NOTEXACT is
                        returned if the condition is not met.
2000-10-18 23:53:31 +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
David Lawrence 29953187b6 ok, this is The Last Time mucking with the dang
offset overflow check.  the expression has been simplified and if
this causes warnings on any platform now i'm gonna go postal.
2000-06-19 17:16:44 +00:00
Michael Graff eadfacf1f5 journal.c doesn't really seem to need <unistd.h> 2000-06-15 18:29:45 +00:00