check-abi failure with sys_errlist
Andreas Schwab
schwab@linux-m68k.org
Fri Apr 6 16:48:00 GMT 2012
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."
More information about the Libc-alpha
mailing list