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-275-gb1eeb65
- From: aj at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 2 Mar 2012 08:33:38 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-275-gb1eeb65
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 b1eeb65d491c0fec94b29cfbbd2e384c9f3765cc (commit)
from 3c96908397840a436666fc2d361747cc26f466c9 (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=b1eeb65d491c0fec94b29cfbbd2e384c9f3765cc
commit b1eeb65d491c0fec94b29cfbbd2e384c9f3765cc
Author: Chris Demetriou <cgd@google.com>
Date: Fri Mar 2 09:32:45 2012 +0100
2012-03-01 Chris Demetriou <cgd@google.com>
* sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals
* to
have predictable order.
diff --git a/ChangeLog b/ChangeLog
index 9f81c1a..29c5dc2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-01 Chris Demetriou <cgd@google.com>
+
+ * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
+ have predictable order.
+
2012-03-01 David S. Miller <davem@davemloft.net>
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
diff --git a/sysdeps/gnu/errlist-compat.awk b/sysdeps/gnu/errlist-compat.awk
index 0e97d05..4f70e92 100644
--- a/sysdeps/gnu/errlist-compat.awk
+++ b/sysdeps/gnu/errlist-compat.awk
@@ -84,7 +84,10 @@ END {
printf "#define ERR_MAX %d\n\n", highest;
}
- for (old in compat) {
+ # same regardless of awk's ordering of the associative array.
+ num_compat_elems = asorti(compat, compat_indices)
+ for (i = 1; i <= num_compat_elems; i++) {
+ old = compat_indices[i]
new = compat[old];
n = vcount[old];
printf "#if SHLIB_COMPAT (libc, %s, %s)\n", old, new;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/gnu/errlist-compat.awk | 5 ++++-
2 files changed, 9 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources