Module Name: src Committed By: martin Date: Fri Aug 23 18:50:16 UTC 2024
Modified Files: src/common/lib/libc/stdlib [netbsd-9]: _strtoi.h src/lib/libc/stdlib [netbsd-9]: Makefile.inc strtoi.3 strtonum.c src/tests/lib/libc/stdlib [netbsd-9]: t_strtoi.c Removed Files: src/lib/libc/stdlib [netbsd-9]: strtou.3 Log Message: Pull up following revision(s) (requested by riastradh in ticket #1870): common/lib/libc/stdlib/_strtoi.h: revision 1.3 lib/libc/stdlib/strtou.3: revision 1.8 lib/libc/stdlib/strtonum.c: revision 1.7 lib/libc/stdlib/Makefile.inc: revision 1.97 lib/libc/stdlib/strtoi.3: revision 1.8 lib/libc/stdlib/strtoi.3: revision 1.9 lib/libc/stdlib/strtou.3: file removal tests/lib/libc/stdlib/t_strtoi.c: revision 1.3 PR/57828: Alejandro Colomar: Prioritize test for ERANGE before testing for fully consuming the string. Adjust strtonum(3) to behave as before. Document the order of the tests and sync the man pages (I should really autogenerate one of the two man pages...) generate strtou.3 from strtoi.3, grammar police Add range tests with trailing characters. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.2.20.1 src/common/lib/libc/stdlib/_strtoi.h cvs rdiff -u -r1.95 -r1.95.2.1 src/lib/libc/stdlib/Makefile.inc cvs rdiff -u -r1.7 -r1.7.8.1 src/lib/libc/stdlib/strtoi.3 cvs rdiff -u -r1.6 -r1.6.2.1 src/lib/libc/stdlib/strtonum.c cvs rdiff -u -r1.7 -r0 src/lib/libc/stdlib/strtou.3 cvs rdiff -u -r1.2 -r1.2.12.1 src/tests/lib/libc/stdlib/t_strtoi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.