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.24-324-gbb5badf


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  bb5badf17087099dd9140f812778f7a8615b2111 (commit)
      from  561ff1ec4251c8dca011dbcf7500b3970b2cf59b (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=bb5badf17087099dd9140f812778f7a8615b2111

commit bb5badf17087099dd9140f812778f7a8615b2111
Author: Carlos O'Donell <carlos@redhat.com>
Date:   Mon Oct 31 16:46:57 2016 -0400

    Bug 20729: Include libc-internal.h where required.
    
    The original fix for bug 20729 failed to include
    libc-internal.h in the files that needed them and
    this caused build failures on machines that don't
    implicitly include this header. This commit fixes
    that by following the consensus rule that a header,
    if needed, should always be directly included.

diff --git a/ChangeLog b/ChangeLog
index 1a14fdf..831c876 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-10-31  Carlos O'Donell  <carlos@redhat.com>
+
+	[Bz #20729]
+	* locale/weight.h: Include libc-internal.h.
+	* locale/weightwc.h: Likewise.
+	* nptl/nptl_dbP.h: Likewise.
+
 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
 
 	* sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
@@ -16,7 +23,7 @@
 	[BZ #20729]
 	* include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
 	Define.
-	* iso-2022-cn-ext.c: Include libc-internal.h and ignore
+	* iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
 	-Wmaybe-uninitialized for BODY macro only for -Os compiles.
 	* locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
 	for seq2.back_us and seq1.back_us only for -Os compiles.
diff --git a/locale/weight.h b/locale/weight.h
index 1f61f01..19b8e4a 100644
--- a/locale/weight.h
+++ b/locale/weight.h
@@ -19,6 +19,8 @@
 #ifndef _WEIGHT_H_
 #define _WEIGHT_H_	1
 
+#include <libc-internal.h>
+
 /* Find index of weight.  */
 static inline int32_t __attribute__ ((always_inline))
 findidx (const int32_t *table,
diff --git a/locale/weightwc.h b/locale/weightwc.h
index e42ce13..ae18965 100644
--- a/locale/weightwc.h
+++ b/locale/weightwc.h
@@ -19,6 +19,8 @@
 #ifndef _WEIGHTWC_H_
 #define _WEIGHTWC_H_	1
 
+#include <libc-internal.h>
+
 /* Find index of weight.  */
 static inline int32_t __attribute__ ((always_inline))
 findidx (const int32_t *table,
diff --git a/nptl_db/thread_dbP.h b/nptl_db/thread_dbP.h
index b53f1c1..f448547 100644
--- a/nptl_db/thread_dbP.h
+++ b/nptl_db/thread_dbP.h
@@ -30,6 +30,7 @@
 #include "../nptl/pthreadP.h"  	/* This is for *_BITMASK only.  */
 #include <list.h>
 #include <gnu/lib-names.h>
+#include <libc-internal.h>
 
 /* Indeces for the symbol names.  */
 enum

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

Summary of changes:
 ChangeLog            |    9 ++++++++-
 locale/weight.h      |    2 ++
 locale/weightwc.h    |    2 ++
 nptl_db/thread_dbP.h |    1 +
 4 files changed, 13 insertions(+), 1 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]