This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.28.9000-505-g9b7f98b


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  9b7f98b3453e7fd46c433369d3a33a5c1a02378d (commit)
      from  b50dd3bc8cbb1efe85399b03d7e6c0310c2ead84 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=9b7f98b3453e7fd46c433369d3a33a5c1a02378d

commit 9b7f98b3453e7fd46c433369d3a33a5c1a02378d
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Mon Dec 31 15:08:31 2018 -0800

    regex: improve Gnulib port to AIX
    
    From the glibc point of view, this removes duplicate macro
    definitions and is obviously safe.
    From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
    * posix/regex_internal.h:
    (__attribute__, __attribute_warn_unused_result__):
    Remove; already defined elsewhere.

diff --git a/ChangeLog b/ChangeLog
index 27331bc..5f29a30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2018-12-31  Paul Eggert  <eggert@cs.ucla.edu>
+
+	regex: improve Gnulib port to AIX
+	From the glibc point of view, this removes duplicate macro
+	definitions and is obviously safe.
+	From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
+	* posix/regex_internal.h:
+	(__attribute__, __attribute_warn_unused_result__):
+	Remove; already defined elsewhere.
+
 2018-12-31  Florian Weimer  <fw@deneb.enyo.de>
 
 	[BZ #24027]
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index c7df419..1dc7a13 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -146,10 +146,6 @@
 # define __regfree regfree
 #endif /* not _LIBC */
 
-#if !__GNUC_PREREQ (3, 1)
-# define __attribute__(arg)
-#endif
-
 #ifndef SSIZE_MAX
 # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))
 #endif
@@ -867,14 +863,6 @@ re_string_elem_size_at (const re_string_t *pstr, Idx idx)
 }
 #endif /* RE_ENABLE_I18N */
 
-#if __GNUC_PREREQ (3,4)
-# undef __attribute_warn_unused_result__
-# define __attribute_warn_unused_result__ \
-   __attribute__ ((__warn_unused_result__))
-#else
-# define __attribute_warn_unused_result__ /* empty */
-#endif
-
 #ifndef FALLTHROUGH
 # if __GNUC__ < 7
 #  define FALLTHROUGH ((void) 0)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog              |   10 ++++++++++
 posix/regex_internal.h |   12 ------------
 2 files changed, 10 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]