libc: Purge unneeded cdefs.hThese sys/cdefs.h are not needed. Purge them. They are mostly left-overfrom the $FreeBSD$ removal. A few in libc are still required for macrosthat cdefs.h defines. Kee
libc: Purge unneeded cdefs.hThese sys/cdefs.h are not needed. Purge them. They are mostly left-overfrom the $FreeBSD$ removal. A few in libc are still required for macrosthat cdefs.h defines. Keep those.Sponsored by: NetflixDifferential Revision: https://reviews.freebsd.org/D42385(cherry picked from commit 559a218c9b257775fb249b67945fe4a05b7a6b9f)
show more ...
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
lib/libc/tests/iconv: raise WARNS to 6MFC after: 2 weeks
Remove 'All rights reserved' from my filesSee r333391 for the rationale.Approved by: emaste (for the Foundation copyright)Sponsored by: Dell EMC
DIRDEPS_BUILD: Connect new directories.Sponsored by: Dell EMC Isilon
Increase WARNS for iconv testsATF tests have a default WARNS of 0, unlike other usermode programs.Reviewed by: ngieMFC after: 3 weeksSponsored by: Spectra Logic CorporationDifferential Revisio
Increase WARNS for iconv testsATF tests have a default WARNS of 0, unlike other usermode programs.Reviewed by: ngieMFC after: 3 weeksSponsored by: Spectra Logic CorporationDifferential Revision: https://reviews.freebsd.org/D9933
Don't define PACKAGE in lib/libc/tests/{iconv,net/getaddrinfo}needlesslyThis is already being done by bsd.test.mkThe other subdirectory Makefiles were intentionally left aloneMFC after: 1 week
Don't define PACKAGE in lib/libc/tests/{iconv,net/getaddrinfo}needlesslyThis is already being done by bsd.test.mkThe other subdirectory Makefiles were intentionally left aloneMFC after: 1 weekSponsored by: Dell EMC Isilon
iconvctl(3): remove superfluous NULL pointer testsconvname and dst are guaranteed to be non-NULL by iconv_open(3).src is an array. Remove these tests for NULL pointers.While I'm here, eliminate a
iconvctl(3): remove superfluous NULL pointer testsconvname and dst are guaranteed to be non-NULL by iconv_open(3).src is an array. Remove these tests for NULL pointers.While I'm here, eliminate a strlcpy with a correct but suspicious-lookingcalculation for the third parameter (i.e. not a simple sizeof).Compare the strings in-place instead of copying.Found by: bdreweryFound by: CoverityCID: 1130050, 1130056MFC after: 3 daysSponsored by: Dell Inc.Differential Revision: https://reviews.freebsd.org/D6338