1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-14 14:01:48 +03:00
Files
gnulib/modules/perror
Eric Blake 8681e553d8 perror: adjust array size
If we ever adjust strerror-override.h to have a larger size for
STACKBUF_LEN, then perror should also pick up the adjustment.

* modules/perror (Depends-on): Add strerror-override.
* lib/perror.c (perror): Use it to avoid magic number.

Signed-off-by: Eric Blake <eblake@redhat.com>
2011-06-21 10:15:45 -06:00

31 lines
452 B
Plaintext

Description:
perror() function: print a message describing error code.
Files:
lib/perror.c
m4/perror.m4
Depends-on:
stdio
errno [test $REPLACE_PERROR = 1]
strerror-override [test $REPLACE_PERROR = 1]
strerror_r-posix [test $REPLACE_PERROR = 1]
configure.ac:
gl_FUNC_PERROR
if test $REPLACE_PERROR = 1; then
AC_LIBOBJ([perror])
fi
gl_STRING_MODULE_INDICATOR([perror])
Makefile.am:
Include:
<stdio.h>
License:
LGPLv2+
Maintainer:
all