Revert "hurd: Fix building io/tst-fchownat.c"

This reverts commit fc221145a7.
This commit is contained in:
Samuel Thibault 2018-01-28 19:13:20 +01:00
parent 7c5b106dcb
commit d23965cf88
2 changed files with 1 additions and 3 deletions

View File

@ -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

View 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
{