Ondřej Surý
2f8b28efad
Hint the compiler with ISC_UNREACHABLE(); that code after INSIST(0); cannot be reached
...
(cherry picked from commit 23fff6c569 )
(cherry picked from commit 4568669807 )
2018-11-08 22:42:52 +07:00
Ondřej Surý
12a266211e
Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool
...
(cherry picked from commit b2b43fd235 )
(cherry picked from commit fcd1569e2b )
2018-11-08 22:02:58 +07:00
Ondřej Surý
1084b40b44
Replace custom isc_boolean_t with C standard bool type
...
(cherry picked from commit 994e656977 )
(cherry picked from commit 884929400c )
2018-08-10 15:20:57 +02:00
Ondřej Surý
aaa76dc654
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
...
(cherry picked from commit cb6a185c69 )
(cherry picked from commit d61e6a3111 )
2018-08-10 15:20:57 +02:00
Ondřej Surý
bfc6a25f2d
Replace ISC_PRINT_QUADFORMAT with inttypes.h format constants
...
(cherry picked from commit 64fe6bbaf2 )
(cherry picked from commit c863a076ae )
2018-08-10 15:20:57 +02:00
Evan Hunt
65bf99c85a
use ISC_INT32_MAX as maximum
2018-06-27 18:40:24 -07:00
Witold Kręcicki
e92d5421c3
Fallback to normal procedure if creating of ixfr-from-differences fails
...
(cherry picked from commit b1254430df )
2018-06-27 18:33:33 -07:00
Witold Kręcicki
1919f5c937
Fix some issues with large journal entries
...
(cherry picked from commit 0db7130f2b )
2018-06-27 18:33:32 -07:00
Michał Kępień
ecea678dac
Use dns_fixedname_initname() where possible
...
Replace dns_fixedname_init() calls followed by dns_fixedname_name()
calls with calls to dns_fixedname_initname() where it is possible
without affecting current behavior and/or performance.
This patch was mostly prepared using Coccinelle and the following
semantic patch:
@@
expression fixedname, name;
@@
- dns_fixedname_init(&fixedname);
...
- name = dns_fixedname_name(&fixedname);
+ name = dns_fixedname_initname(&fixedname);
The resulting set of changes was then manually reviewed to exclude false
positives and apply minor tweaks.
It is likely that more occurrences of this pattern can be refactored in
an identical way. This commit only takes care of the low-hanging fruit.
(cherry picked from commit 4df4a8e731 )
(cherry picked from commit 0041aeb751 )
2018-04-10 13:26:23 -07:00
Evan Hunt
8b205089b7
update file headers to remove copyright years
2018-03-14 16:40:20 -07:00
Tinderbox User
6fb9b25791
update copyright notice / whitespace
2017-07-21 23:46:43 +00:00
Mark Andrews
bfde61d519
4654. [cleanup] Don't use C++ keywords delete, new and namespace.
...
[RT #45538 ]
(cherry picked from commit 4bf32aa587 )
2017-07-21 12:28:58 +10:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
李昶
65f6e2f909
Cleanup in journal_open() correctly ( #41129 )
2015-11-19 11:20:59 +05:30
Mark Andrews
e53e202ef3
4128. [bug] Address issues raised by Coverity 7.6. [RT #39537 ]
2015-05-28 13:17:07 +10:00
Francis Dupont
3759f10fc5
added print.h includes, updated copyrights
2015-05-23 14:21:51 +02:00
Tinderbox User
5e93bad21b
update copyright notice / whitespace
2015-03-01 23:45:20 +00:00
Mark Andrews
a8da00ef95
4079. [func] Preserve the case of the ownername of records to
...
the RRset level. [RT #37442 ]
2015-02-27 15:08:38 +11:00
Mark Andrews
af669cb4fd
4074. [cleanup] Cleaned up more warnings from gcc -Wshadow. [RT #38708 ]
2015-02-27 10:55:55 +11:00
Mark Andrews
9c0589bc8b
3966. [bug] Missing dns_db_closeversion call in receive_secure_db.
...
[RT #35746 ]
2014-10-03 07:50:09 +10:00
Tinderbox User
431a83fb29
update copyright notice
2014-01-09 23:46:35 +00:00
Evan Hunt
e851ea8260
[master] replace memcpy() with memmove().
...
3698. [cleanup] Replaced all uses of memcpy() with memmove().
[RT #35120 ]
2014-01-08 16:39:05 -08:00
Mark Andrews
53f70575bd
silence compiler warnings
2013-12-06 17:38:25 +11:00
Mark Andrews
c3c8823fed
3681. [port] Update the Windows build system to support feature
...
selection and WIN64 builds. This is a work in
progress. [RT #34160 ]
2013-12-04 12:47:23 +11:00
Evan Hunt
18df9e628e
[master] strdup journal filename
...
3646. [bug] Journal filename string could be set incorrectly,
causing garbage in log messages. [RT #34738 ]
2013-09-09 22:12:47 -07:00
Evan Hunt
79e6f6e519
[master] deprecate dns_journal_rollforward2
...
no longer needed since change #3641
2013-09-04 16:19:52 -07:00
Mark Andrews
b5f4cc132e
3641. [bug] Handle changes to sig-validity-interval settings
...
better. [RT #34625 ]
2013-09-04 13:45:00 +10:00
Evan Hunt
31707708c5
[master] portability fixes for map files
...
3598. [cleanup] Improved portability of map file code. [RT #33820 ]
2013-06-17 09:09:43 -07:00
Tinderbox User
573d78f3d5
update copyright notice
2013-02-21 23:45:56 +00:00
Evan Hunt
df925e6c66
[master] add zone memory context pools
...
3492. [bug] Fixed a regression in zone loading performance
due to lock contention. [RT #30399 ]
2013-02-20 21:39:05 -08:00
Evan Hunt
f30785f506
3252. [bug] When master zones using inline-signing were
...
updated while the server was offline, the source
zone could fall out of sync with the signed
copy. They can now resynchronize. [RT #26676 ]
2011-12-22 07:32:41 +00:00
Automatic Updater
806956b43b
update copyright notice
2011-12-05 23:46:35 +00:00
Mark Andrews
de52784e45
3235. [func] dns_db_diffx, a extended dns_db_diff which returns
...
the generated diff and optionally writes it to a
journal. [RT #26386 ]
2011-12-04 23:48:12 +00:00
Mark Andrews
91ed1cc821
3222. [cleanup] Replace dns_journal_{get,set}_bitws with
...
dns_journal_{get,set}_sourceserial. [RT #26634 ]
2011-11-28 03:14:59 +00:00
Automatic Updater
4e68c7c87c
update copyright notice
2011-08-30 23:46:53 +00:00
Mark Andrews
9198ab377b
3147. [func] Initial inline signing support. [RT #23657 ]
2011-08-30 05:16:15 +00:00
Automatic Updater
c1aef54e14
update copyright notice
2011-03-12 04:59:49 +00:00
Mark Andrews
0874abad14
3069. [cleanup] Silence warnings messages from clang static analysis.
...
[RT #20256 ]
2011-03-11 06:11:27 +00:00
Automatic Updater
33cc94f04c
update copyright notice
2010-11-17 23:47:09 +00:00
Evan Hunt
8eb30f8dd3
2971. [bug] Fixed a bug that caused journal files not to be
...
compacted on Windows systems as a result of
non-POSIX-compliant rename() semantics. [RT #22434 ]
2010-11-17 00:27:54 +00:00
Automatic Updater
2d84cba8f4
update copyright notice
2009-11-04 23:48:18 +00:00
Mark Andrews
2484c7db7a
spelling
2009-11-04 04:22:16 +00:00
Mark Andrews
e94fe42a20
2749. [bug] ixfr-from-differences generated a non-minimal ixfr
...
for NSEC3 signed zones. [RT #20452 ]
2009-11-04 03:46:44 +00:00
Mark Andrews
0181a0a92f
2747. [bug] Journal roll forwards failed to set the re-signing
...
time of RRSIGs correctly. [RT #20541 ]
2009-11-04 01:25:55 +00:00
Mark Andrews
11b4f17027
2657. [cleanup] Lower "journal file <path> does not exist, creating it"
...
log level to debug 1. [RT #20058 ]
2009-08-25 07:41:28 +00:00
Automatic Updater
d362465c77
update copyright notice
2009-01-17 23:47:43 +00:00
Francis Dupont
47b7dfffe5
spelling
2009-01-17 14:45:17 +00:00
Mark Andrews
5737b74d34
2453. [bug] Remove NULL pointer dereference in dns_journal_print().
...
[RT #18316 ]
2452. [func] Improve bin/test/journalprint. [RT #18316 ]
2008-09-25 02:01:45 +00:00
Mark Andrews
6098d364b6
2448. [func] Add NSEC3 support. [RT #15452 ]
2008-09-24 02:46:23 +00:00
Automatic Updater
e672951ed2
update copyright notice
2008-04-01 23:47:10 +00:00