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-521-g55137f7


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  55137f7dd939bc8403a63f4cade73ff90575b821 (commit)
      from  acb55dcb892d4321ada6fd9b663b28fada432682 (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=55137f7dd939bc8403a63f4cade73ff90575b821

commit 55137f7dd939bc8403a63f4cade73ff90575b821
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Wed Jan 2 22:21:34 2019 +0100

    hurd: advertise *_setpshared as not supported
    
    The functions themselves return 0, but initializing a mutex/etc with       .
    pshared set to 1 will fail anyway                                          .
    
    	* sysdeps/htl/pt-barrierattr-setpshared.c
    	(pthread_barrierattr_setpshared): Add stub warning.
    	* sysdeps/htl/pt-condattr-setpshared.c
    	(pthread_condattr_setpshared): Likewise.
    	* sysdeps/htl/pt-mutexattr-setpshared.c
    	(pthread_mutexattr_setpshared): Likewise.
    	* sysdeps/htl/pt-rwlockattr-setpshared.c
    	(pthread_rwlockattr_setpshared): Likewise.
    	* sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
    	(pthread_mutexattr_setpshared): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 75c80e6..eabbb51 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2019-01-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* sysdeps/htl/pt-barrierattr-setpshared.c
+	(pthread_barrierattr_setpshared): Add stub warning.
+	* sysdeps/htl/pt-condattr-setpshared.c
+	(pthread_condattr_setpshared): Likewise.
+	* sysdeps/htl/pt-mutexattr-setpshared.c
+	(pthread_mutexattr_setpshared): Likewise.
+	* sysdeps/htl/pt-rwlockattr-setpshared.c
+	(pthread_rwlockattr_setpshared): Likewise.
+	* sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
+	(pthread_mutexattr_setpshared): Likewise.
+
 2019-01-02  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
diff --git a/sysdeps/htl/pt-barrierattr-setpshared.c b/sysdeps/htl/pt-barrierattr-setpshared.c
index b4999e8..4756a39 100644
--- a/sysdeps/htl/pt-barrierattr-setpshared.c
+++ b/sysdeps/htl/pt-barrierattr-setpshared.c
@@ -35,3 +35,4 @@ pthread_barrierattr_setpshared (pthread_barrierattr_t *attr, int pshared)
       return EINVAL;
     }
 }
+stub_warning (pthread_barrierattr_setpshared)
diff --git a/sysdeps/htl/pt-condattr-setpshared.c b/sysdeps/htl/pt-condattr-setpshared.c
index 46662f7..aff0537 100644
--- a/sysdeps/htl/pt-condattr-setpshared.c
+++ b/sysdeps/htl/pt-condattr-setpshared.c
@@ -35,3 +35,4 @@ pthread_condattr_setpshared (pthread_condattr_t *attr, int pshared)
       return EINVAL;
     }
 }
+stub_warning (pthread_condattr_setpshared)
diff --git a/sysdeps/htl/pt-mutexattr-setpshared.c b/sysdeps/htl/pt-mutexattr-setpshared.c
index fb7da72..a3ecf0e 100644
--- a/sysdeps/htl/pt-mutexattr-setpshared.c
+++ b/sysdeps/htl/pt-mutexattr-setpshared.c
@@ -35,3 +35,4 @@ pthread_mutexattr_setpshared (pthread_mutexattr_t *attr, int pshared)
       return EINVAL;
     }
 }
+stub_warning (pthread_mutexattr_setpshared)
diff --git a/sysdeps/htl/pt-rwlockattr-setpshared.c b/sysdeps/htl/pt-rwlockattr-setpshared.c
index 12597dc..63eb14a 100644
--- a/sysdeps/htl/pt-rwlockattr-setpshared.c
+++ b/sysdeps/htl/pt-rwlockattr-setpshared.c
@@ -35,3 +35,4 @@ pthread_rwlockattr_setpshared (pthread_rwlockattr_t *attr, int pshared)
       return EINVAL;
     }
 }
+stub_warning (pthread_rwlockattr_setpshared)
diff --git a/sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c b/sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
index faed769..f99e958 100644
--- a/sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
+++ b/sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
@@ -32,3 +32,4 @@ pthread_mutexattr_setpshared (pthread_mutexattr_t *attrp, int pshared)
   attrp->__pshared = pshared;
   return 0;
 }
+stub_warning (pthread_mutexattr_setpshared)

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

Summary of changes:
 ChangeLog                                       |   13 +++++++++++++
 sysdeps/htl/pt-barrierattr-setpshared.c         |    1 +
 sysdeps/htl/pt-condattr-setpshared.c            |    1 +
 sysdeps/htl/pt-mutexattr-setpshared.c           |    1 +
 sysdeps/htl/pt-rwlockattr-setpshared.c          |    1 +
 sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c |    1 +
 6 files changed, 18 insertions(+), 0 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]