summary refs log tree commit diff
path: root/sysdeps/gnu/errlist.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-07 23:55:24 +0000
committerRoland McGrath <roland@gnu.org>1996-07-07 23:55:24 +0000
commit28160ffb1c1b768e0fca4ccdb2843252100b5b81 (patch)
treeb2b8a2c81003c82672e7d785264ac33e854e2a00 /sysdeps/gnu/errlist.c
parentfaf85e08bcc5e1fd3d418b9ce11c8f2649d8415f (diff)
downloadglibc-28160ffb1c1b768e0fca4ccdb2843252100b5b81.tar.gz
glibc-28160ffb1c1b768e0fca4ccdb2843252100b5b81.tar.xz
glibc-28160ffb1c1b768e0fca4ccdb2843252100b5b81.zip
* sysdeps/gnu/errlist.awk (BEGIN): Initialize associative array ALIAS,
	map EWOULDBLOCK->EAGAIN, EDEADLOCK->EDEADLK.
	(element printer): Check for elt in ALIAS, instead of special case
	for EWOULDBLOCK.
Diffstat (limited to 'sysdeps/gnu/errlist.c')
-rw-r--r--sysdeps/gnu/errlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c
index 59e7f52b97..fa56553712 100644
--- a/sysdeps/gnu/errlist.c
+++ b/sysdeps/gnu/errlist.c
@@ -323,7 +323,7 @@ const char *_sys_errlist[] =
 #ifdef EBADSLT
     [EBADSLT] = N_("Invalid slot"),
 #endif
-#ifdef EDEADLOCK
+#if defined (EDEADLOCK) && EDEADLOCK != EDEADLK
     [EDEADLOCK] = N_("File locking deadlock error"),
 #endif
 #ifdef EBFONT