pkgbase: install all libc test files into the tests package(cherry picked from commit 3a9ddfa1ab46b492c861022ea254b3277ef74dde)
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/
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