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.26.9000-1049-g4f82079


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  4f820792a6217027744d38fc223257914847bbcc (commit)
      from  3e3c904daef69b8bf7d5cc07f793c9f07c3553ef (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=4f820792a6217027744d38fc223257914847bbcc

commit 4f820792a6217027744d38fc223257914847bbcc
Author: Zack Weinberg <zackw@panix.com>
Date:   Sun Dec 31 08:50:34 2017 -0800

    Correct improper-inclusion check in bits/libio-ldbl.h.
    
    The patch which moved libio.h proper into the bits directory also
    changed the name of its guard macro, and I neglected to check whether
    anything depended on that name.  It turns out that there is a
    conditionally-used bits header that looks at it; this broke the libgcc
    build on at least sparc64-*-* and sparcv9-*-*.
    
    	* libio/bits/libio-ldbl.h: Correct check for improper
    	inclusion.  Add own multiple include guard.

diff --git a/ChangeLog b/ChangeLog
index cd6fc15..75f1a1a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-31  Zack Weinberg  <zackw@panix.com>
+
+	* libio/bits/libio-ldbl.h: Correct check for improper
+	inclusion.  Add own multiple include guard.
+
 2017-12-30  Aurelien Jarno  <aurelien@aurel32.net>
 	    Dmitry V. Levin  <ldv@altlinux.org>
 
diff --git a/libio/bits/libio-ldbl.h b/libio/bits/libio-ldbl.h
index f238550..b5fd97e 100644
--- a/libio/bits/libio-ldbl.h
+++ b/libio/bits/libio-ldbl.h
@@ -16,9 +16,14 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _IO_STDIO_H
+#ifndef _BITS_LIBIO_LDBL_H
+#define _BITS_LIBIO_LDBL_H 1
+
+#ifndef _BITS_LIBIO_H
 # error "Never include <bits/libio-ldbl.h> directly; use <libio.h> instead."
 #endif
 
 __LDBL_REDIR_DECL (_IO_vfscanf)
 __LDBL_REDIR_DECL (_IO_vfprintf)
+
+#endif

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

Summary of changes:
 ChangeLog               |    5 +++++
 libio/bits/libio-ldbl.h |    7 ++++++-
 2 files changed, 11 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]