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.17-285-gb7688c4
- From: siddhesh at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 26 Feb 2013 08:48:12 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.17-285-gb7688c4
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 b7688c42e7cca0c24889f3a8f9b685783661fb24 (commit)
from 53a5c423fb77a0befa400b4672ac98cf910db986 (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=b7688c42e7cca0c24889f3a8f9b685783661fb24
commit b7688c42e7cca0c24889f3a8f9b685783661fb24
Author: Paul Eggert <eggert@cs.ucla.edu>
Date: Tue Feb 26 14:17:12 2013 +0530
Bring back definition of __attribute__ for non-gcc and older gcc
gnulib copies this file over and needs it.
diff --git a/ChangeLog b/ChangeLog
index 8450c3c..cbf4083 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
+
+ * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
+ Define __attribute__.
+
2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
* locale/elem-hash.h (elem_hash): Mark as pure and possibly
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 0521f74..3c94fbe 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -121,6 +121,10 @@
# define attribute_hidden
#endif /* not _LIBC */
+#if __GNUC__ < 3 + (__GNUC_MINOR__ < 1)
+# define __attribute__(arg)
+#endif
+
extern const char __re_error_msgid[] attribute_hidden;
extern const size_t __re_error_msgid_idx[] attribute_hidden;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
posix/regex_internal.h | 4 ++++
2 files changed, 9 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources