This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: check-abi failure with sys_errlist
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Andreas Jaeger <aj at suse dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Fri, 06 Apr 2012 18:48:25 +0200
- Subject: Re: check-abi failure with sys_errlist
- References: <4F7F1718.6000300@suse.com>
Andreas Jaeger <aj@suse.com> writes:
> I'm confused - why is it suddenly 8 bytes smaller?
Bug in errlist-compat.awk.
diff --git a/sysdeps/gnu/errlist-compat.awk b/sysdeps/gnu/errlist-compat.awk
index 4f70e92..49fe24b 100644
--- a/sysdeps/gnu/errlist-compat.awk
+++ b/sysdeps/gnu/errlist-compat.awk
@@ -81,7 +81,7 @@ END {
if (highest > count) {
printf "*** errlist.c count %d inflated to %s count %d (old errno.h?)\n", \
count, highest_version, highest > "/dev/stderr";
- printf "#define ERR_MAX %d\n\n", highest;
+ printf "#define ERR_MAX %d\n\n", highest - 1;
}
# same regardless of awk's ordering of the associative array.
> I would have expected 8 additional bytes after the change above...
There is actually still one entry left.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."