* Compilers that use an older prototype for recvfrom() will
* warn about the type of the sixth parameter, fromlen. It
* is now standardized as unsigned, specifically as socklen_t.
*/
(... but the code itself still uses unsigned int. This comment was added
because HP/UX is complaining now even as other compilers stopped complaining
when it was changed from signed int to unsigned int.)
because it was causing HP/UX to barf up eight lines of:
cc: "adb.c", line 2219: warning 509: Condition always evaluates to true: If clause will always be executed.
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
discuss, since I think I'm the only one who has ever run this
or probably ever will.
Still far from perfect, of course. It's just an auxiliary tool that
whose output needs human interpretation.
But basically ...
see whether a public header will compile stand-alone.
recommend ISC_MAGIC_VALID where appropriate.
use "print" consistent throughout, instead of print/warn.
ignore a couple of special files.
fixed some conditions that caused premature termination of checking
make v6 sockets, but we do not have struct in6_pktinfo.
Add a check in configure.in for struct in6_pktinfo.
Use the result of that check to define (if needed) in6_pktinfo in net.h.
This change makes us build on platforms that have SOME ipv6 structures
(like in6_addr, etc) but not enough to be useful to us.
Note: Before making an ipv6 socket the code should verify that ipv6
sockets can be made using isc_net_probeipv6(). It should also
check for v4 sockets using isc_net_probeipv4() to be consistant.
is NULL then you need to preserve the 'rdata' until
you have finished using the structure as there may be
references to the associated memory. If 'mctx' is non
NULL it is guarenteed that there are no references to
to memory addsociated with 'rdata'.
dns_rdata_freestruct() must be called if 'mctx' was
non NULL and may safely be called if 'mctx' was NULL.
Finish implementing 153 for IN specific types.
naptr_35.h some of the lengths should be 8 bits.