* tests/test-xstrtol.c (main): Clarify that the new test exercises
undefined behaviour.
+2024-07-26 Bruno Haible <bruno@clisp.org>
+
+ xstrtol, xstrtoll tests: Improve comment.
+ * tests/test-xstrtol.c (main): Clarify that the new test exercises
+ undefined behaviour.
+
2024-07-25 Paul Eggert <eggert@cs.ucla.edu>
xstrtol: remove the base-checking changes
{
/* Miscellaneous test cases. */
- /* Test an invalid base. Reported by Alejandro Colomar. */
+ /* Test an invalid base (undefined behaviour, as documented in xstrtol.h).
+ Reported by Alejandro Colomar. */
{
const char input[] = "k";
char *endp = NULL;