Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
pkgbase: install all libc test files into the tests package
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
show more ...
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
libc/tests/stdlib/dynthr_mod/dynthr_mod.c: mark dummy as usedIt receives the malloc() result, and we do not want the malloc() callto be optimized out, which is allowed for hosted compiler. Use du
libc/tests/stdlib/dynthr_mod/dynthr_mod.c: mark dummy as usedIt receives the malloc() result, and we do not want the malloc() callto be optimized out, which is allowed for hosted compiler. Use dummyfor actual write though.Sponsored by: The FreeBSD FoundationMFC after: 1 week
libc tests: dynthr_mod: fix some WARNS issuesThis is being addressed as part of a side-patch I'm working on that buildsall the things with WARNS=6, instead of relying on it being supplied in just
libc tests: dynthr_mod: fix some WARNS issuesThis is being addressed as part of a side-patch I'm working on that buildsall the things with WARNS=6, instead of relying on it being supplied in justshallow parts of the build with higher-level Makefile.inc.Provide a prototype for mod_main and annotate the thread function argumentas unused.MFC after: 1 week
libc/tests: Add test case for jemalloc/libthr bug fixed in r343566Submitted by: Andrew Gierth (original reproducer; kevans massaged for atf)Reviewed by: kibMFC after: 2 weeksX-MFC-with: r343566
libc/tests: Add test case for jemalloc/libthr bug fixed in r343566Submitted by: Andrew Gierth (original reproducer; kevans massaged for atf)Reviewed by: kibMFC after: 2 weeksX-MFC-with: r343566 (or after)Differential Revision: https://reviews.freebsd.org/D19027