]> Savannah Git Hosting - gnulib.git/commit
strtoll: Work around a bug on native Windows and Minix.
authorBruno Haible <bruno@clisp.org>
Fri, 2 Apr 2021 18:46:15 +0000 (20:46 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 2 Apr 2021 18:46:15 +0000 (20:46 +0200)
commitea1816fd6d334b4bfd8368a63d9bda3cad1c9b0d
tree68ad3316295d89b4d4e54ba1f6dedabf2f258b1a
parent705c23696fcaf5bd9d4f0aaecd106b4a2c1417b2
strtoll: Work around a bug on native Windows and Minix.

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