mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
in a lot of places now. It _returns_ if it fails to get the necessary memory,
so any function using it should be returning a dns_result_t.
chain_name moved toward start of file, for inlining by findnode.
move_chain_to_last broke out some functionality of dns_rbtnodechain_last
(which now calls it), also for the benefit of findnode.
dns_rbtnodechain_init on the chain used by addnode.
All of the new_foundname concatenation gook was removed from findnode,
which now just sets foundname by using chain_name.
The chain set up by findnode points to the predecessor when the searched
for name is not found.
nodechain_current was changed to take name, origin and node parameters while
returning a dns_result_t. This allows the chain returned by findnode to
be named.
The nodechain_{first,last,prev} use nodechain_current to set their
names and origins. nodechain_next does not need it because it will never
have to do the "set the origin to '.' and remove '.' from names in the
root level" bit. The root level will never be more than one name, and
everything in the megatree is a successor to that node, so 'next' never
reaches the root level.
We've had successful builds and tests on the following systems BSDI 3.1 Digital UNIX 4.0D HP-UX 11 Red Hat Linux 5.2 SGI IRIX 6.5 Solaris 2.6 To build, just ./configure make Do not run 'make install'. Building with gcc is not supported, unless gcc is the vendor's usual compiler (e.g. the various BSD systems, Linux). If you have gcc installed on a system where it is not the vendor's usual compiler, then you should setenv CC cc # Solaris, HP-UX or setenv CC c89 # Digital UNIX before doing "./configure". We know about the compiler warnings for socket.c on some systems. The issue will be addressed in a future release, but in the meantime everything should still work. Code in bin/named is for testing purposes only, and is not representative of the final architecture. Currently, it can load one zone and answer questions about names in that zone. All APIs are subject to change in future code drops. Out-of-zone glue is not supported yet. Trying to query for ANY RR type doesn't work yet. IRIX note: you must edit lib/isc/Makefile.in changing pthreads/condition.o \ @ISC_EXTRA_OBJS@ to pthreads/condition.o @ISC_EXTRA_OBJS@ before you run ./configure. Many compiler warnings, etc. are currently generated on IRIX. They will be cleaned up in a future release.
Languages
C
75.4%
Shell
14.2%
Python
7.1%
Jinja
1.2%
Perl
1%
Other
1%