Hash :
8681e553
Author :
Date :
2011-06-21T10:10:06
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>
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