Warner Losh
4025b5b527
libc: Purge unneeded cdefs.h
...
These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Keep those.
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D42385
(cherry picked from commit 559a218c9b )
2023-11-26 21:20:09 -07:00
Warner Losh
1d386b48a5
Remove $FreeBSD$: one-line .c pattern
...
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
2023-08-16 11:54:42 -06:00
Conrad Meyer
83095e1ee2
print_positional_test: Fix misuse of wchar APIs
...
These APIs take unit length, not byte length parameters.
Reported by: Coverity
CIDs: 1338543, 1338544, 1338545
Sponsored by: EMC / Isilon Storage Division
2016-05-12 04:08:45 +00:00
Enji Cooper
4c05e4ea85
Convert print_positional_test over to ATF
...
Somehow missed in r290537
X-MFC with: r290537
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-11-08 21:38:46 +00:00
Enji Cooper
1ee0219205
Integrate tools/regression/lib/libc/stdio into the FreeBSD test suite
...
as lib/libc/tests/stdio
- Fix some whitespace
- Convert the testcases to ATF
- Convert "/dev/null" to _PATH_DEVNULL
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-11-08 06:37:50 +00:00