diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-04-06 18:53:32 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-04-19 19:05:19 +0200 |
commit | ff3d51ec58e433ca725a1039f8558d64d2d80466 (patch) | |
tree | 45616f6419ca88c31f500655423fe36a4908cf03 /sysdeps/gnu | |
parent | 50f81fd74b78d407477b9b39c2034c87471b6cef (diff) | |
download | glibc-ff3d51ec58e433ca725a1039f8558d64d2d80466.tar.gz glibc-ff3d51ec58e433ca725a1039f8558d64d2d80466.tar.xz glibc-ff3d51ec58e433ca725a1039f8558d64d2d80466.zip |
Fix computation of inflated errlist size
Diffstat (limited to 'sysdeps/gnu')
-rw-r--r-- | sysdeps/gnu/errlist-compat.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/gnu/errlist-compat.awk b/sysdeps/gnu/errlist-compat.awk index 4f70e927c5..864733bb40 100644 --- a/sysdeps/gnu/errlist-compat.awk +++ b/sysdeps/gnu/errlist-compat.awk @@ -1,5 +1,5 @@ # awk script to generate errlist-compat.c -# Copyright (C) 2002, 2004, 2006 Free Software Foundation, Inc. +# Copyright (C) 2002-2012 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -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. |