Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.Prune svn:mergeinfo from the new branch, as nothing has been mergedhere.Additional commits post-branch will follow.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
libc: do not include <sys/types.h> where <sys/param.h> was already includedAccording to style(9):> normally, include <sys/types.h> OR <sys/param.h>, but not both.(<sys/param.h> already includes <sys/types.h> when LOCORE is not defined).
libc: replace 0 with NULL for pointers.While here also cleanup some surrounding code; particularlydrop some malloc() casts.Found with devel/coccinelle.Reviewed by: bde (previous version - all new bugs are mine)
ANSIfy b64_pton
Fix b64_pton output buffer overrun test for exact-sized bufferb64_pton would sometimes erroneously fail to decode a base64 string intoa precisely sized buffer. The overflow check was a little too greedy.Reported by: Ted Unangst on freebsd-hackers@Reviewed by: loos, traszObtained from: OpenBSDMFC after: 1 weekSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D1218
Fix the style of the SCM ID's.I believe have made all of libc .c's as consistent as possible.
Add unsigned char cast to ctype macros arg
$Id$ -> $FreeBSD$
Update the resolver parts to bind-8.1.2 level. I have not touched thegetXXXXbyYYYY() interfaces yet.Obtained from: diff relative to bind-8.1.2 sources
Here goes.. Bring the 4.9.5-P1 resolver into -current. This has theDNSSEC stuff, among other things. There are also some renamed functions,I've left out the res_stubs.c from this commit in case cvs bombs out..