This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.15-617-gff3d51e
- From: schwab at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 19 Apr 2012 17:06:47 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-617-gff3d51e
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via ff3d51ec58e433ca725a1039f8558d64d2d80466 (commit)
from 50f81fd74b78d407477b9b39c2034c87471b6cef (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ff3d51ec58e433ca725a1039f8558d64d2d80466
commit ff3d51ec58e433ca725a1039f8558d64d2d80466
Author: Andreas Schwab <schwab@linux-m68k.org>
Date: Fri Apr 6 18:53:32 2012 +0200
Fix computation of inflated errlist size
diff --git a/ChangeLog b/ChangeLog
index db02f02..4be48d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
+ ERR_MAX value.
+ * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
+ errlist-compat value.
+
2012-04-18 David S. Miller <davem@davemloft.net>
* sysdeps/generic/memcopy.h (reg_char): Delete.
diff --git a/sysdeps/gnu/errlist-compat.awk b/sysdeps/gnu/errlist-compat.awk
index 4f70e92..864733b 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.
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions
index 7f2f1b9..f9647be 100644
--- a/sysdeps/unix/sysv/linux/Versions
+++ b/sysdeps/unix/sysv/linux/Versions
@@ -142,7 +142,7 @@ libc {
fallocate;
}
GLIBC_2.12 {
- #errlist-compat 134
+ #errlist-compat 135
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
ntp_gettimex;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
sysdeps/gnu/errlist-compat.awk | 4 ++--
sysdeps/unix/sysv/linux/Versions | 2 +-
3 files changed, 10 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources