This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: check-abi failure with sys_errlist
On Tue, Apr 17, 2012 at 4:41 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> "Carlos O'Donell" <carlos@systemhalted.org> writes:
>
>> (a) We compile sysdeps/gnu/errlist.c with -DEMIT_ERR_MAX to get a
>> count of the number of errno entries.
>
> No, it isn't. ?The name say it all: it's the maximum error.
Correct, my mistake in the description. It is the value of the highest
errno. If it were a true count that would be problematic. Why
problematic? Your defined errno numbers can have gaps, but the table
is a 1:1 mapping, and includes enough entries for all possible errnos
inbetwee.
Cheers,
Carlos.