]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Revert "hurd: Fix building io/tst-fchownat.c"
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 28 Jan 2018 18:13:20 +0000 (19:13 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 28 Jan 2018 18:13:20 +0000 (19:13 +0100)
This reverts commit fc221145a734d128d8f56f40d40fd4bb70a1d151.

ChangeLog
io/tst-fchownat.c

index 99e668929ed27c340de1ee6291bbcfed2e50a55e..96e4549146f4ece417fac8b10e29a0fc36dc73e7 100644 (file)
--- 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
index 8318842249df6c9b283d9f1738c79e9488e63651..e8adf6229fc6033b018c951cd21c3dd59c6faed5 100644 (file)
@@ -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
     {