| #
8be86428
|
| 14-Dec-2025 |
Robert Clausecker <fuz@FreeBSD.org> |
libc/test: fix typo
I misapplied ngie's recommended correction.
Fixes: 123c086200491819595abc271d360e605288fd18 Differential Revision: https://reviews.freebsd.org/D54169
|
| #
123c0862
|
| 04-Dec-2025 |
Robert Clausecker <fuz@FreeBSD.org> |
libc/tests/string: improve stpncpy() "bounds" unit test
The test is extended the same way I previously extended the memccpy() test to fix what is probably the same kind of bug.
PR: 291359 Reported
libc/tests/string: improve stpncpy() "bounds" unit test
The test is extended the same way I previously extended the memccpy() test to fix what is probably the same kind of bug.
PR: 291359 Reported by: Collin Funk <collin.funk1@gmail.com> Reviewed by: ngie Approved by: markj (mentor) Fixes: 6fa9e7d8737548ef93c573387ce62402c368d486 (D42519) See also: 61ed5748e4e9c7397fcb2638b442f46ac5c9e7c5 (D46051) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54169
lib/libc/tests/string/stpncpy_test.c: apply ngie's fixes
show more ...
|
| #
6fa9e7d8
|
| 05-Nov-2023 |
Robert Clausecker <fuz@FreeBSD.org> |
lib/libc/tests/string/stpncpy_test.c: extend for upcoming SSE implementation
This adds additional unit tests validating the function for All possible alignment offsets of source and destination.
Al
lib/libc/tests/string/stpncpy_test.c: extend for upcoming SSE implementation
This adds additional unit tests validating the function for All possible alignment offsets of source and destination.
Also extend the test to allow testing of an external stpncpy implementation, which greatly simplifies the development of custom implementations.
Sponsored by: The FreeBSD Foundation Tested by: developers@, exp-run Approved by: mjg MFC after: 1 month MFC to: stable/14 PR: 275785 Differential Revision: https://reviews.freebsd.org/D42519
show more ...
|
| #
559a218c
|
| 01-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
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. Kee
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
show more ...
|
| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
748f7c8d
|
| 07-Apr-2022 |
Andrew Turner <andrew@FreeBSD.org> |
Have stpncpy tests ask the kernel for the page size
It may be dynamic so we can't rely on PAGE_SIZE being present or correct.
|
| #
8be86428
|
| 14-Dec-2025 |
Robert Clausecker <fuz@FreeBSD.org> |
libc/test: fix typo
I misapplied ngie's recommended correction.
Fixes: 123c086200491819595abc271d360e605288fd18 Differential Revision: https://reviews.freebsd.org/D54169
|
| #
123c0862
|
| 04-Dec-2025 |
Robert Clausecker <fuz@FreeBSD.org> |
libc/tests/string: improve stpncpy() "bounds" unit test
The test is extended the same way I previously extended the memccpy() test to fix what is probably the same kind of bug.
PR: 291359 Reported
libc/tests/string: improve stpncpy() "bounds" unit test
The test is extended the same way I previously extended the memccpy() test to fix what is probably the same kind of bug.
PR: 291359 Reported by: Collin Funk <collin.funk1@gmail.com> Reviewed by: ngie Approved by: markj (mentor) Fixes: 6fa9e7d8737548ef93c573387ce62402c368d486 (D42519) See also: 61ed5748e4e9c7397fcb2638b442f46ac5c9e7c5 (D46051) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54169
lib/libc/tests/string/stpncpy_test.c: apply ngie's fixes
show more ...
|
| #
6fa9e7d8
|
| 05-Nov-2023 |
Robert Clausecker <fuz@FreeBSD.org> |
lib/libc/tests/string/stpncpy_test.c: extend for upcoming SSE implementation
This adds additional unit tests validating the function for All possible alignment offsets of source and destination.
Al
lib/libc/tests/string/stpncpy_test.c: extend for upcoming SSE implementation
This adds additional unit tests validating the function for All possible alignment offsets of source and destination.
Also extend the test to allow testing of an external stpncpy implementation, which greatly simplifies the development of custom implementations.
Sponsored by: The FreeBSD Foundation Tested by: developers@, exp-run Approved by: mjg MFC after: 1 month MFC to: stable/14 PR: 275785 Differential Revision: https://reviews.freebsd.org/D42519
show more ...
|
| #
559a218c
|
| 01-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
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. Kee
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
show more ...
|
| #
1d386b48
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
748f7c8d
|
| 07-Apr-2022 |
Andrew Turner <andrew@FreeBSD.org> |
Have stpncpy tests ask the kernel for the page size
It may be dynamic so we can't rely on PAGE_SIZE being present or correct.
|
| #
347267dc
|
| 08-Nov-2015 |
Enji Cooper <ngie@FreeBSD.org> |
Integrate tools/regression/lib/libc/string into the FreeBSD test suite as lib/libc/tests/string
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
| #
f04a5a6c
|
| 28-Feb-2009 |
David Schultz <das@FreeBSD.org> |
Tests for wcscasecmp(), wcsnlen(), and stpncpy().
|