Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
2a374700
Commit
2a374700
authored
Dec 09, 2015
by
Tinderbox User
Browse files
update copyright notice / whitespace
parent
09ee4376
Changes
5
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/ednscompliance/tests.sh
View file @
2a374700
#!/bin/sh
#
# Copyright (C) 2014 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2014
, 2015
Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
...
...
lib/dns/db.c
View file @
2a374700
/*
* Copyright (C) 2004, 2005, 2007-2009, 2011-2013 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007-2009, 2011-2013
, 2015
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
lib/dns/name.c
View file @
2a374700
...
...
@@ -763,16 +763,16 @@ dns_name_equal(const dns_name_t *name1, const dns_name_t *name2) {
/* Loop unrolled for performance */
while
(
count
>
3
)
{
c
=
maptolower
[
label1
[
0
]];
c
=
maptolower
[
label1
[
0
]];
if
(
c
!=
maptolower
[
label2
[
0
]])
return
(
ISC_FALSE
);
c
=
maptolower
[
label1
[
1
]];
c
=
maptolower
[
label1
[
1
]];
if
(
c
!=
maptolower
[
label2
[
1
]])
return
(
ISC_FALSE
);
c
=
maptolower
[
label1
[
2
]];
c
=
maptolower
[
label1
[
2
]];
if
(
c
!=
maptolower
[
label2
[
2
]])
return
(
ISC_FALSE
);
c
=
maptolower
[
label1
[
3
]];
c
=
maptolower
[
label1
[
3
]];
if
(
c
!=
maptolower
[
label2
[
3
]])
return
(
ISC_FALSE
);
count
-=
4
;
...
...
lib/dns/rbt.c
View file @
2a374700
...
...
@@ -1384,10 +1384,10 @@ dns_rbt_addnode(dns_rbt_t *rbt, dns_name_t *name, dns_rbtnode_t **nodep) {
if
(
result
==
ISC_R_SUCCESS
)
{
#ifdef DNS_RBT_USEHASH
if
(
*
root
==
NULL
)
UPPERNODE
(
new_current
)
=
current
;
if
(
*
root
==
NULL
)
UPPERNODE
(
new_current
)
=
current
;
else
UPPERNODE
(
new_current
)
=
PARENT
(
*
root
);
UPPERNODE
(
new_current
)
=
PARENT
(
*
root
);
#endif
/* DNS_RBT_USEHASH */
addonlevel
(
new_current
,
current
,
order
,
root
);
rbt
->
nodecount
++
;
...
...
lib/dns/tests/rbt_test.c
View file @
2a374700
...
...
@@ -1380,7 +1380,7 @@ ATF_TC_BODY(benchmark, tc) {
values = (int *) malloc(4000000 * sizeof(int));
for (i = 0; i < 4000000; i++) {
r = ((unsigned long) random()) % maxvalue;
r = ((unsigned long) random()) % maxvalue;
snprintf(namestr, sizeof(namestr), "name%u.example.org.", r);
build_name_from_str(namestr, &fnames[i]);
names[i] = dns_fixedname_name(&fnames[i]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment