]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix errno values
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 20 Mar 2018 02:10:57 +0000 (03:10 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 20 Mar 2018 02:10:57 +0000 (03:10 +0100)
* manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
values from Linux-specific section now that it is in the GNU section.
* sysdeps/gnu/errlist.c: Regenerate.

ChangeLog
manual/errno.texi
sysdeps/gnu/errlist.c

index 08488fe2b2dc8ccbe8bab923d0f9cab62db0f163..3399e567b82bf920be0dd39ce4b77752d3ef6d36 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
+       values from Linux-specific section now that it is in the GNU section.
+       * sysdeps/gnu/errlist.c: Regenerate.
+
 2018-03-20  Joseph Myers  <joseph@codesourcery.com>
 
        * math/Makefile (libm-narrow-fns): Add sub.
index 8917cccb1ec8d9a90a14027d89134922b8862d7f..b195b635f1042d284dbcec1e7e2b42d352aa5f4b 100644 (file)
@@ -1111,16 +1111,6 @@ They are not yet documented.}
 @errno{EKEYREJECTED, ???/???, Key was rejected by service}
 @end deftypevr
 
-@deftypevr Macro int EOWNERDEAD
-@standards{Linux, errno.h}
-@errno{EOWNERDEAD, ???/???, Owner died}
-@end deftypevr
-
-@deftypevr Macro int ENOTRECOVERABLE
-@standards{Linux, errno.h}
-@errno{ENOTRECOVERABLE, ???/???, State not recoverable}
-@end deftypevr
-
 @deftypevr Macro int ERFKILL
 @standards{Linux, errno.h}
 @errno{ERFKILL, ???/???, Operation not possible due to RF-kill}
index 4a1c093ed0ee327d1d92e6c509fe2ffc3557c1b2..31ebfa9491d96262322b96b717cd5a60a8d2f10e 100644 (file)
@@ -1090,6 +1090,22 @@ TRANS error; @pxref{Cancel AIO Operations}. */
 # define ERR_MAX ECANCELED
 # endif
 #endif
+#ifdef EOWNERDEAD
+/* */
+    [ERR_REMAP (EOWNERDEAD)] = N_("Owner died"),
+# if EOWNERDEAD > ERR_MAX
+# undef ERR_MAX
+# define ERR_MAX EOWNERDEAD
+# endif
+#endif
+#ifdef ENOTRECOVERABLE
+/* */
+    [ERR_REMAP (ENOTRECOVERABLE)] = N_("State not recoverable"),
+# if ENOTRECOVERABLE > ERR_MAX
+# undef ERR_MAX
+# define ERR_MAX ENOTRECOVERABLE
+# endif
+#endif
 #ifdef ERESTART
 /* */
     [ERR_REMAP (ERESTART)] = N_("Interrupted system call should be restarted"),
@@ -1434,22 +1450,6 @@ TRANS error; @pxref{Cancel AIO Operations}. */
 # define ERR_MAX EKEYREJECTED
 # endif
 #endif
-#ifdef EOWNERDEAD
-/* */
-    [ERR_REMAP (EOWNERDEAD)] = N_("Owner died"),
-# if EOWNERDEAD > ERR_MAX
-# undef ERR_MAX
-# define ERR_MAX EOWNERDEAD
-# endif
-#endif
-#ifdef ENOTRECOVERABLE
-/* */
-    [ERR_REMAP (ENOTRECOVERABLE)] = N_("State not recoverable"),
-# if ENOTRECOVERABLE > ERR_MAX
-# undef ERR_MAX
-# define ERR_MAX ENOTRECOVERABLE
-# endif
-#endif
 #ifdef ERFKILL
 /* */
     [ERR_REMAP (ERFKILL)] = N_("Operation not possible due to RF-kill"),