Hash :
bd1e9814
Author :
Date :
2024-07-25T17:24:20
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.
Description:
Convert string to 'long' or 'unsigned long', with error checking.
Files:
lib/xstrtol.h
lib/xstrtol.c
lib/xstrtoul.c
m4/xstrtol.m4
Depends-on:
intprops
stdckdint
stdint
configure.ac:
gl_XSTRTOL
Makefile.am:
lib_SOURCES += xstrtol.c xstrtoul.c
Include:
"xstrtol.h"
License:
GPL
Maintainer:
Jim Meyering