Evan Hunt
ab0fe63f07
minor cleanup and addressed a sprintf format warning
2018-02-24 17:56:17 -08:00
Mark Andrews
48ca11df5f
update printf format to match type
2018-02-24 17:50:41 -08:00
Mark Andrews
a04bb76973
improve the conditional declaration and use of variable to silence cppcheck
2018-02-24 17:50:41 -08:00
Mark Andrews
b71a1386ed
remove deadcode
2018-02-24 17:50:41 -08:00
Mark Andrews
e8249dcd49
silence unread assignment warning by using POST macro
2018-02-24 17:50:41 -08:00
Mark Andrews
70d192eb97
update the sscanf format strings so they match the pointer types
2018-02-24 17:50:27 -08:00
Mark Andrews
a4186b1867
redefine CHECK so cppcheck see the definition
2018-02-24 17:50:27 -08:00
Mark Andrews
dcd309bea1
conditionally typedef fstrmtable
2018-02-24 17:49:49 -08:00
Mark Andrews
7b27be54ee
adjust goto target and conditional compilation so that cleanup_spillattimer and cleanup_alglock labels match the element to be cleanup and so that they are always used
2018-02-24 17:49:49 -08:00
Evan Hunt
3c028ed07d
Merge branch 'kyua-oot' into 'master'
...
chg: dev: Unit tests were broken in out-of-tree builds.
See merge request isc-projects/bind9!57
2018-02-23 18:22:59 -05:00
Ondřej Surý
a11e23b5ed
Replace all usage of inet_aton() with inet_pton()
2018-02-23 13:57:10 +01:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Petr Menšík
95cde3608a
unit/unittest.sh is generated by configure. It will always be
...
generated into builddir. If out-of-tree build is used, make unit
will always fail. Kyuafiles and testdata still have to be copied
manually into the builddir.
2018-02-22 15:32:16 +01:00
Tinderbox User
72326f7701
update copyright notice / whitespace
2018-02-18 23:47:45 +00:00
Ondřej Surý
4801f40e4d
Merge branch 'master' into 'master'
...
Master
See merge request isc-projects/bind9!36
2018-02-16 17:19:26 -05:00
Michał Kępień
02063cbae2
Make dns_dt_send() call dns_dt_reopen() asynchronously
...
Instead of checking current dnstap output file size and potentially
synchronously calling dns_dt_reopen() upon every call to dns_dt_send():
- call dns_dt_reopen() asynchronously by queuing an event to the task
specified at dnstap environment creation time,
- ensure no roll event is outstanding before checking dnstap output
file size and potentially queuing another roll event.
This causes dnstap output files to exceed their configured size limits,
but prevents any two threads from performing the roll simultaneously
(which causes crashes).
2018-02-16 09:39:24 +01:00
Michał Kępień
8e3c16175a
Make dns_dt_reopen() request task-exclusive mode on its own
...
Instead of relying on the caller to set up task-exclusive mode, make
dns_dt_reopen() enforce task-exclusive mode itself, using the task
specified at dnstap environment creation time.
2018-02-16 09:39:24 +01:00
Michał Kępień
f199a5a9ae
Add dns_dt_create2()
...
Implement a new variant of dns_dt_create() to enable a dnstap
environment structure to hold the task in the context of which
dns_dt_reopen() will be executed.
2018-02-16 09:39:24 +01:00
Mark Andrews
f181b30918
add POST(len);
2018-02-16 10:20:39 +11:00
Mark Andrews
2e83674170
conditionally declare stacksize
2018-02-16 10:20:39 +11:00
Mark Andrews
801cef9684
add POST(len);
2018-02-16 10:20:39 +11:00
Mark Andrews
99d02c6531
Clarify calculation precedence for '&' and '?'
2018-02-16 10:20:39 +11:00
Mark Andrews
a46e90b2b7
add POST(tl)
2018-02-16 10:20:39 +11:00
Mark Andrews
acdecd4636
test for == 0 rather than <= as value is unsigned
2018-02-16 10:20:39 +11:00
Mark Andrews
a7eb3b3b76
use %u instead of %d
2018-02-16 10:20:39 +11:00
Mark Andrews
4528297486
use %u instead of %d
2018-02-16 10:20:39 +11:00
Mark Andrews
8f8ce953ce
use %u instead of %d
2018-02-16 10:20:39 +11:00
Mark Andrews
fc38731c85
use %u instead of %d
2018-02-16 10:20:39 +11:00
Mark Andrews
1eb1eaac94
use %u instead of %d
2018-02-16 10:20:39 +11:00
Mark Andrews
b492700759
use %u instead of %d
2018-02-16 10:20:38 +11:00
Mark Andrews
54275e8f5c
use %u instead of %d
2018-02-16 10:20:38 +11:00
Mark Andrews
c7e848ce54
use %u instead of %d
2018-02-16 10:20:38 +11:00
Mark Andrews
1cdb19eaae
use %u instead of %d
2018-02-16 10:20:38 +11:00
Mark Andrews
5bc9ede092
use %u instead of %d
2018-02-16 10:20:38 +11:00
Mark Andrews
e632696a6d
case to unsigned; reorder expression
2018-02-16 10:20:38 +11:00
Mark Andrews
500248b6c1
simplify expression
2018-02-16 10:20:38 +11:00
Mark Andrews
97d4a1eaf5
use %u and preserve unsigned property
2018-02-16 10:20:38 +11:00
Mark Andrews
b5167607ef
make declaration and use of setnocookie fully conditional
2018-02-16 10:20:38 +11:00
Mark Andrews
6bd6bd6d62
cast to unsigned
2018-02-16 10:20:38 +11:00
Mark Andrews
78ad353491
preserve unsigned property
2018-02-16 10:20:38 +11:00
Mark Andrews
c23eef5ff1
make both arguments of & unsigned
2018-02-16 10:20:38 +11:00
Mark Andrews
b513bbe9ff
use %u instead of %d
2018-02-16 10:20:38 +11:00
Mark Andrews
34a4d241c6
shift unsigned (~0U) rather than signed (~0) contant
2018-02-16 10:20:38 +11:00
Mark Andrews
75a291e541
use %u instead of %d
2018-02-16 10:20:38 +11:00
Mark Andrews
dc3951c800
unsigned constants
2018-02-16 10:20:38 +11:00
Mark Andrews
9520cf8559
unsigned constants
2018-02-16 10:20:38 +11:00
Mark Andrews
0f8b0dc5d4
use %u instead of %d
2018-02-16 10:20:38 +11:00
Mark Andrews
eaddb0c686
use %u instead of %d
2018-02-16 10:20:38 +11:00
Mark Andrews
b234797536
use %u instead of %d
2018-02-16 10:20:38 +11:00
Mark Andrews
2b803b3463
prevent implict conversion to signed
2018-02-16 10:20:38 +11:00