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-1198-g3fc1ecf


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  3fc1ecf93549acd5bea1e84d93862ee556b3a5a8 (commit)
       via  fc221145a734d128d8f56f40d40fd4bb70a1d151 (commit)
       via  cef7166ac10cff95e8e8ab76e32376faf34800e5 (commit)
      from  5f982b0beb0f337ba3dfdae85462192d06b5af89 (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=3fc1ecf93549acd5bea1e84d93862ee556b3a5a8

commit 3fc1ecf93549acd5bea1e84d93862ee556b3a5a8
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jan 28 17:56:49 2018 +0100

    hurd: Fix building io/tst-copy_file_range.c
    
    	* io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
    	<sys/mount.h>.

diff --git a/ChangeLog b/ChangeLog
index 2305843..961262d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -58,6 +58,8 @@
 	* libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
 	* io/tst-fchownat.c [!defined _POSIX_CHOWN_RESTRICTED]: Act like when
 	_POSIX_CHOWN_RESTRICTED is defined to 0.
+	* io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
+	<sys/mount.h>.
 
 2008-12-18  Thomas Schwinge  <tschwinge@gnu.org>
 
diff --git a/io/tst-copy_file_range.c b/io/tst-copy_file_range.c
index f1cab12..3d531a1 100644
--- a/io/tst-copy_file_range.c
+++ b/io/tst-copy_file_range.c
@@ -33,7 +33,9 @@
 #include <support/temp_file.h>
 #include <support/test-driver.h>
 #include <support/xunistd.h>
-#include <sys/mount.h>
+#ifdef CLONE_NEWNS
+# include <sys/mount.h>
+#endif
 
 /* Boolean flags which indicate whether to use pointers with explicit
    output flags.  */

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=fc221145a734d128d8f56f40d40fd4bb70a1d151

commit fc221145a734d128d8f56f40d40fd4bb70a1d151
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jan 28 17:52:34 2018 +0100

    hurd: Fix building io/tst-fchownat.c
    
    	* io/tst-fchownat.c [!defined _POSIX_CHOWN_RESTRICTED]: Act like when
    	_POSIX_CHOWN_RESTRICTED is defined to 0.

diff --git a/ChangeLog b/ChangeLog
index 23a56d6..2305843 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -56,6 +56,8 @@
 	* libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
 	(do_test_bz20181): Rename accordingly.
 	* libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
+	* io/tst-fchownat.c [!defined _POSIX_CHOWN_RESTRICTED]: Act like when
+	_POSIX_CHOWN_RESTRICTED is defined to 0.
 
 2008-12-18  Thomas Schwinge  <tschwinge@gnu.org>
 
diff --git a/io/tst-fchownat.c b/io/tst-fchownat.c
index e8adf62..8318842 100644
--- a/io/tst-fchownat.c
+++ b/io/tst-fchownat.c
@@ -20,7 +20,7 @@ static int dir_fd;
 static void
 prepare (void)
 {
-#if _POSIX_CHOWN_RESTRICTED == 0
+#if !defined _POSIX_CHOWN_RESTRICTED || _POSIX_CHOWN_RESTRICTED == 0
   if (pathconf (test_dir, _PC_CHOWN_RESTRICTED) != 0)
 #endif
     {

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=cef7166ac10cff95e8e8ab76e32376faf34800e5

commit cef7166ac10cff95e8e8ab76e32376faf34800e5
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jan 28 17:45:41 2018 +0100

    hurd: Fix building libio/tst-memstream3.c
    
    FWRITE is already an fcntl.h macro.
    
    	* libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
    	(do_test_bz20181): Rename accordingly.
    	* libio/tst-wmemstream3.c (FWRITE): Rename accordingly.

diff --git a/ChangeLog b/ChangeLog
index 1261148..23a56d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -53,6 +53,9 @@
 	* sysdeps/mach/hurd/check_pf.c: New file.
 	* sysdeps/mach/hurd/libhurduser.abilist: New file.
 	* sysdeps/mach/libmachuser.abilist: New file.
+	* libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
+	(do_test_bz20181): Rename accordingly.
+	* libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
 
 2008-12-18  Thomas Schwinge  <tschwinge@gnu.org>
 
diff --git a/libio/tst-memstream3.c b/libio/tst-memstream3.c
index 331314f..df0da5b 100644
--- a/libio/tst-memstream3.c
+++ b/libio/tst-memstream3.c
@@ -29,7 +29,7 @@
 # define W(o) o
 # define OPEN_MEMSTREAM open_memstream
 # define PRINTF printf
-# define FWRITE fwrite
+# define _FWRITE fwrite
 # define FPUTC fputc
 # define STRCMP strcmp
 #endif
@@ -114,14 +114,14 @@ do_test_bz20181 (void)
   if (fp == NULL)
     ERROR_RET1 ("%s failed\n", S(OPEN_MEMSTREAM));
 
-  if ((ret = FWRITE (W("abc"), 1, 3, fp)) != 3)
-    ERROR_RET1 ("%s failed (errno = %d)\n", S(FWRITE), errno);
+  if ((ret = _FWRITE (W("abc"), 1, 3, fp)) != 3)
+    ERROR_RET1 ("%s failed (errno = %d)\n", S(_FWRITE), errno);
 
   if (fseek (fp, 0, SEEK_SET) != 0)
     ERROR_RET1 ("fseek failed (errno = %d)\n", errno);
 
-  if (FWRITE (W("z"), 1, 1, fp) != 1)
-    ERROR_RET1 ("%s failed (errno = %d)\n", S(FWRITE), errno);
+  if (_FWRITE (W("z"), 1, 1, fp) != 1)
+    ERROR_RET1 ("%s failed (errno = %d)\n", S(_FWRITE), errno);
 
   if (fflush (fp) != 0)
     ERROR_RET1 ("fflush failed (errno = %d)\n", errno);
diff --git a/libio/tst-wmemstream3.c b/libio/tst-wmemstream3.c
index d0e4973..4edc2b9 100644
--- a/libio/tst-wmemstream3.c
+++ b/libio/tst-wmemstream3.c
@@ -37,7 +37,7 @@ fwwrite (const void *ptr, size_t size, size_t nmemb, FILE *arq)
 #define W(o) L##o
 #define OPEN_MEMSTREAM open_wmemstream
 #define PRINTF wprintf
-#define FWRITE fwwrite
+#define _FWRITE fwwrite
 #define FPUTC  fputwc
 #define STRCMP wcscmp
 

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

Summary of changes:
 ChangeLog                |    7 +++++++
 io/tst-copy_file_range.c |    4 +++-
 io/tst-fchownat.c        |    2 +-
 libio/tst-memstream3.c   |   10 +++++-----
 libio/tst-wmemstream3.c  |    2 +-
 5 files changed, 17 insertions(+), 8 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]