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.27.9000-156-g3403cb7


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  3403cb7dd4ce1e36802f448ecba2bccc6706e73e (commit)
      from  430fd94599e20a71a38a01135bcafe2719a0bd8f (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=3403cb7dd4ce1e36802f448ecba2bccc6706e73e

commit 3403cb7dd4ce1e36802f448ecba2bccc6706e73e
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Mar 4 01:28:55 2018 +0100

    hurd: avoid including hurd/signal.h when not needed
    
    thus making <hurd/port.h> and <hurd/userlink.h> includable without
    _GNU_SOURCE.
    
    	* hurd/hurd/port.h: Do not include <hurd/signal.h>.
    	* hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
    	!defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.

diff --git a/ChangeLog b/ChangeLog
index 9bfa1bd..297af74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,9 @@
 	* sysdeps/mach/i386/bits/mach/param.h: ... here.  Update path in #error.
 	* sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
 	of <mach/param.h>.
+	* hurd/hurd/port.h: Do not include <hurd/signal.h>.
+	* hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
+	!defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
 
 2018-03-03  Andreas Schwab  <schwab@linux-m68k.org>
 
diff --git a/hurd/hurd/port.h b/hurd/hurd/port.h
index eec85cc..0779578 100644
--- a/hurd/hurd/port.h
+++ b/hurd/hurd/port.h
@@ -24,7 +24,6 @@
 #include <mach.h>
 #include <hurd/userlink.h>
 #include <spin-lock.h>
-#include <hurd/signal.h>
 
 
 /* Structure describing a cell containing a port.  With the lock held, a
diff --git a/hurd/hurd/userlink.h b/hurd/hurd/userlink.h
index fb7cab2..f936255 100644
--- a/hurd/hurd/userlink.h
+++ b/hurd/hurd/userlink.h
@@ -24,7 +24,11 @@
 #define __need_NULL
 #include <stddef.h>
 
-#include <hurd/signal.h>
+#if defined __USE_EXTERN_INLINES && defined _LIBC
+# if IS_IN (libc)
+#  include <hurd/signal.h>
+# endif
+#endif
 #include <setjmp.h>
 
 

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

Summary of changes:
 ChangeLog            |    3 +++
 hurd/hurd/port.h     |    1 -
 hurd/hurd/userlink.h |    6 +++++-
 3 files changed, 8 insertions(+), 2 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]