mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
* lib/strerror.c: Include <string.h> always, to test interface, and to remove the need for the dummy. Include intprops.h to compute width instead of doing it ourselves and missing a CHAR_BIT declaration, which broke tar 1.19 on Solaris 8. (strerror): Define it to return NULL if there's no system strerror. (rpl_strerror): Use INT_STRLEN_BOUND to compute bound. Omit !HAVE_STRERROR code. We don't need to worry about supporting ancient pre-strerror Unix systems well any more. Saying "unknown system error" is enough. * lib/string.in.h (strerror): Simplify the ifdef to reflect the simpler strerror.c implementation. * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE, gl_PREREQ_STDERROR): Simplify the tests to reflect the simpler strerror implementation. * modules/strerror (Depends-on): Add intprops.
26 lines
276 B
Plaintext
26 lines
276 B
Plaintext
Description:
|
|
strerror() function: return string describing error code.
|
|
|
|
Files:
|
|
lib/strerror.c
|
|
m4/strerror.m4
|
|
|
|
Depends-on:
|
|
intprops
|
|
string
|
|
|
|
configure.ac:
|
|
gl_FUNC_STRERROR
|
|
gl_STRING_MODULE_INDICATOR([strerror])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<string.h>
|
|
|
|
License:
|
|
LGPL
|
|
|
|
Maintainer:
|
|
all
|