diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-11-10 09:38:27 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-11-10 09:38:27 +0000 |
commit | 9abf55c24c31a53d987ebf53e46cbd64eab417bc (patch) | |
tree | 15f35d8593a250d25b17a593b73a451ed20d0bd9 /sysdeps/gnu/errlist.c | |
parent | 3504bb650f48534549bbd0313dc15fa71455e302 (diff) |
2.3.3-76cvs/fedora-glibc-2_3_3-76
Diffstat (limited to 'sysdeps/gnu/errlist.c')
-rw-r--r-- | sysdeps/gnu/errlist.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/gnu/errlist.c b/sysdeps/gnu/errlist.c index 8131038047..9ae6ec3c1d 100644 --- a/sysdeps/gnu/errlist.c +++ b/sysdeps/gnu/errlist.c @@ -7,7 +7,15 @@ # define ERR_REMAP(n) n #endif -const char *const _sys_errlist_internal[] = +#if !defined EMIT_ERR_MAX && !defined ERRLIST_NO_COMPAT +# include <errlist-compat.h> +#endif +#ifdef ERR_MAX +# define ERRLIST_SIZE ERR_MAX + 1 +#else +# define ERRLIST_SIZE +#endif +const char *const _sys_errlist_internal[ERRLIST_SIZE] = { [0] = N_("Success"), #ifdef EPERM |