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-1202-gb102530


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  b10253044b49a0b6464b4837afc02755295c4a5c (commit)
       via  d23965cf888f38b5ae4b27f1c8f9cba6674e1780 (commit)
      from  7c5b106dcbb10cf383ade30de14260f23a6ecfba (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=b10253044b49a0b6464b4837afc02755295c4a5c

commit b10253044b49a0b6464b4837afc02755295c4a5c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jan 28 19:13:55 2018 +0100

    hurd: Fix posix options
    
    _POSIX_CHOWN_RESTRICTED and _POSIX_NO_TRUNC should be always defined.
    
    	* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
    	_POSIX_NO_TRUNC): Define to 0.

diff --git a/ChangeLog b/ChangeLog
index 96e4549..3223ff5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -90,6 +90,8 @@
 	_hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
 	__hurd_threadvar_location_from_sp, __hurd_threadvar_location,
 	_hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
+	* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
+	_POSIX_NO_TRUNC): Define to 0.
 
 2008-12-18  Thomas Schwinge  <tschwinge@gnu.org>
 
diff --git a/sysdeps/mach/hurd/bits/posix_opt.h b/sysdeps/mach/hurd/bits/posix_opt.h
index f299e3f..03082ad 100644
--- a/sysdeps/mach/hurd/bits/posix_opt.h
+++ b/sysdeps/mach/hurd/bits/posix_opt.h
@@ -58,8 +58,8 @@
 
 /* Different Hurd filesystems might do these differently.
    You must query the particular file with `pathconf' or `fpathconf'.  */
-#undef _POSIX_CHOWN_RESTRICTED	/* Only root can change owner of file?  */
-#undef _POSIX_NO_TRUNC		/* Overlong file names get error?  */
+#define _POSIX_CHOWN_RESTRICTED	0	/* Only root can change owner of file?  */
+#define _POSIX_NO_TRUNC		0	/* Overlong file names get error?  */
 #undef _POSIX_SYNC_IO		/* File supports O_SYNC et al?  */
 
 /* X/Open realtime support is not supported.  */

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

commit d23965cf888f38b5ae4b27f1c8f9cba6674e1780
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Jan 28 19:13:20 2018 +0100

    Revert "hurd: Fix building io/tst-fchownat.c"
    
    This reverts commit fc221145a734d128d8f56f40d40fd4bb70a1d151.

diff --git a/ChangeLog b/ChangeLog
index 99e6689..96e4549 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -58,8 +58,6 @@
 	* 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.
 	* io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
 	<sys/mount.h>.
 	* hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
diff --git a/io/tst-fchownat.c b/io/tst-fchownat.c
index 8318842..e8adf62 100644
--- a/io/tst-fchownat.c
+++ b/io/tst-fchownat.c
@@ -20,7 +20,7 @@ static int dir_fd;
 static void
 prepare (void)
 {
-#if !defined _POSIX_CHOWN_RESTRICTED || _POSIX_CHOWN_RESTRICTED == 0
+#if _POSIX_CHOWN_RESTRICTED == 0
   if (pathconf (test_dir, _PC_CHOWN_RESTRICTED) != 0)
 #endif
     {

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

Summary of changes:
 ChangeLog                          |    4 ++--
 io/tst-fchownat.c                  |    2 +-
 sysdeps/mach/hurd/bits/posix_opt.h |    4 ++--
 3 files changed, 5 insertions(+), 5 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]