summaryrefslogtreecommitdiff
path: root/modules/perror
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-05-24 14:27:04 -0600
committerEric Blake <eblake@redhat.com>2011-06-01 08:19:59 -0600
commit6b66ce308dae8448f02da645a9fd8fb992349f06 (patch)
treed5ff88e4b838f9b8d336a9dcf1c74a7beab0cc20 /modules/perror
parent90a65c17c1754d1890af4f00374d7af435d8cc7e (diff)
downloadgnulib-6b66ce308dae8448f02da645a9fd8fb992349f06.tar.gz
perror: call strerror_r directly
No need to make a wrapper that burns static storage when we can just use stack storage. * modules/perror (Files): Drop strerror-impl.h. * lib/perror.c (perror): Use our own stack buffer, rather than calling a wrapper that uses static storage. * doc/posix-functions/perror.texi (perror): Document a limitation of our replacement. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'modules/perror')
-rw-r--r--modules/perror1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/perror b/modules/perror
index 1ff9ec27e5..38e28ce633 100644
--- a/modules/perror
+++ b/modules/perror
@@ -3,7 +3,6 @@ perror() function: print a message describing error code.
Files:
lib/perror.c
-lib/strerror-impl.h
m4/perror.m4
Depends-on: