This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]