1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00
This commit is contained in:
Jakub Jelinek
2007-07-12 18:26:36 +00:00
parent 7d58530341
commit 0ecb606cb6
6215 changed files with 494638 additions and 305010 deletions

View File

@@ -1407,11 +1407,60 @@ TRANS error; @pxref{Cancel AIO Operations}. */
# undef ERR_MAX
# define ERR_MAX EMEDIUMTYPE
# endif
#endif
#ifdef ENOKEY
/* */
[ERR_REMAP (ENOKEY)] = N_("Required key not available"),
# if ENOKEY > ERR_MAX
# undef ERR_MAX
# define ERR_MAX ENOKEY
# endif
#endif
#ifdef EKEYEXPIRED
/* */
[ERR_REMAP (EKEYEXPIRED)] = N_("Key has expired"),
# if EKEYEXPIRED > ERR_MAX
# undef ERR_MAX
# define ERR_MAX EKEYEXPIRED
# endif
#endif
#ifdef EKEYREVOKED
/* */
[ERR_REMAP (EKEYREVOKED)] = N_("Key has been revoked"),
# if EKEYREVOKED > ERR_MAX
# undef ERR_MAX
# define ERR_MAX EKEYREVOKED
# endif
#endif
#ifdef EKEYREJECTED
/* */
[ERR_REMAP (EKEYREJECTED)] = N_("Key was rejected by service"),
# if EKEYREJECTED > ERR_MAX
# undef ERR_MAX
# 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
};
const int _sys_nerr_internal
= sizeof _sys_errlist_internal / sizeof _sys_errlist_internal [0];
#define NERR \
(sizeof _sys_errlist_internal / sizeof _sys_errlist_internal [0])
const int _sys_nerr_internal = NERR;
#if !defined NOT_IN_libc && !ERRLIST_NO_COMPAT
# include <errlist-compat.c>