diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-20 03:10:57 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-03-20 03:10:57 +0100 |
commit | ceb54b9b4ff5ef7d518a6e6e415a6897fb77eb67 (patch) | |
tree | 1be8010c0ceffe25d6ca613fd4f0ec0569299fe0 /sysdeps | |
parent | 79962d89a95247509b345ae068a84575718edbd7 (diff) | |
download | glibc-ceb54b9b4ff5ef7d518a6e6e415a6897fb77eb67.tar glibc-ceb54b9b4ff5ef7d518a6e6e415a6897fb77eb67.tar.gz glibc-ceb54b9b4ff5ef7d518a6e6e415a6897fb77eb67.tar.bz2 glibc-ceb54b9b4ff5ef7d518a6e6e415a6897fb77eb67.zip |
Fix errno values
* 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.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/gnu/errlist.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c index 4a1c093ed0..31ebfa9491 100644 --- a/sysdeps/gnu/errlist.c +++ b/sysdeps/gnu/errlist.c @@ -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"), |