about summary refs log tree commit diff
path: root/sysdeps/gnu
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2022-09-08 10:25:21 +0200
committerAndreas Schwab <schwab@suse.de>2022-09-08 11:40:24 +0200
commit3d7d5c10c806ee24f8e35014e41e203002609a3f (patch)
tree51dd5716607a54c794674da470c9b8e3428be56f /sysdeps/gnu
parentb8cc607f3c1e8371b89158f427a61f28018604a5 (diff)
downloadglibc-3d7d5c10c806ee24f8e35014e41e203002609a3f.tar.gz
glibc-3d7d5c10c806ee24f8e35014e41e203002609a3f.tar.xz
glibc-3d7d5c10c806ee24f8e35014e41e203002609a3f.zip
errlist: add missing entry for EDEADLOCK (bug 29545)
Some architectures (mips, powerpc and sparc) define separate values for
EDEADLOCK and EDEADLK.  Readd the errlist entry for EDEADLOCK for those
configurations.  Also use the dependency files from generating the
auxiliary errlist and siglist files.
Diffstat (limited to 'sysdeps/gnu')
-rw-r--r--sysdeps/gnu/errlist.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/gnu/errlist.h b/sysdeps/gnu/errlist.h
index 6329e5f393..e8416448da 100644
--- a/sysdeps/gnu/errlist.h
+++ b/sysdeps/gnu/errlist.h
@@ -593,6 +593,9 @@ _S(EBADRQC, N_("Invalid request code"))
 #ifdef EBADSLT
 _S(EBADSLT, N_("Invalid slot"))
 #endif
+#if defined EDEADLOCK && EDEADLOCK != EDEADLK
+_S (EDEADLOCK, N_ ("File locking deadlock error"))
+#endif
 #ifdef EBFONT
 _S(EBFONT, N_("Bad font file format"))
 #endif