]> Savannah Git Hosting - gnulib.git/commit
xstrtol: remove the base-checking changes
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 26 Jul 2024 00:24:20 +0000 (17:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 26 Jul 2024 00:24:54 +0000 (17:24 -0700)
commitbd1e981434c98751b1106a1744e77a27317b52b3
treec0e65f845e20c90cc5362c8f86eafdb4940fef42
parentb0672d4868d2a2e19f031630cf72005dd26325f3
xstrtol: remove the base-checking changes

* lib/xstrtol.c (__xstrtol): Stop worrying about hypothetical
implementations that are causing more confusion than the code is
worth.  Instead, go back more to old way of doing things.
None of this matters for practical applications.
* lib/xstrtol.h: Document that behavior is undefined
if the base is negative, 1, or greater than 36.
* modules/xstrtol (Depends-on): Remove nullptr; no longer needed.
ChangeLog
lib/xstrtol.c
lib/xstrtol.h
modules/xstrtol