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: build message: errlist.c count 134 inflated to GLIBC_2.12 count 135 (old errno.h?)


On Thu, 21 May 2015, Szabolcs Nagy wrote:

> why do i get
> 
> *** errlist.c count 134 inflated to GLIBC_2.12 count 135 (old errno.h?)
> 
> build error message?
> 
> sysdeps/unix/sysv/linux/Versions seems to hardcode 135 errlist size
> while the largest number in kernel asm-generic/errno.h is 133
> 
> is there a reason for the difference?

As I said in <https://sourceware.org/ml/libc-ports/2009-11/msg00065.html>, 
my assumption is that it's for future expansion (it needs to be at least 1 
more than the largest errno value, and is 2 larger).

-- 
Joseph S. Myers
joseph@codesourcery.com


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