]> Savannah Git Hosting - gnulib.git/commit
strtoull: Work around a bug on native Windows and Minix.
authorBruno Haible <bruno@clisp.org>
Fri, 2 Apr 2021 18:14:28 +0000 (20:14 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 2 Apr 2021 18:14:28 +0000 (20:14 +0200)
commit837ffb5ee4585ce6947e1013d03c7d6f21cbd635
treea6d1773bc9427ac3fc6c13fd23ec53c81673d32d
parentcbff21f910e678340da2cadf0bbf2bdc191c0eb9
strtoull: Work around a bug on native Windows and Minix.

* lib/stdlib.in.h (strtoull): Override if REPLACE_STRTOULL is 1.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize REPLACE_STRTOULL.
* m4/strtoull.m4 (gl_FUNC_STRTOULL): Test whether strtoull works. Set
REPLACE_STRTOULL.
* modules/stdlib (Makefile.am): Substitute REPLACE_STRTOULL.
* modules/strtoull (configure.ac): Test REPLACE_STRTOULL.
* tests/test-strtoull.c (main): Add tests of hexadecimal integer syntax.
* doc/posix-functions/strtoull.texi: Mention the bug.
ChangeLog
doc/posix-functions/strtoull.texi
lib/stdlib.in.h
m4/stdlib_h.m4
m4/strtoull.m4
modules/stdlib
modules/strtoull
tests/test-strtoull.c