Revert "hurd: Fix building io/tst-fchownat.c"
This reverts commit fc221145a7
.
This commit is contained in:
parent
7c5b106dcb
commit
d23965cf88
|
@ -58,8 +58,6 @@
|
||||||
* libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
|
* libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
|
||||||
(do_test_bz20181): Rename accordingly.
|
(do_test_bz20181): Rename accordingly.
|
||||||
* libio/tst-wmemstream3.c (FWRITE): 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
|
* io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
|
||||||
<sys/mount.h>.
|
<sys/mount.h>.
|
||||||
* hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
|
* hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
|
||||||
|
|
|
@ -20,7 +20,7 @@ static int dir_fd;
|
||||||
static void
|
static void
|
||||||
prepare (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)
|
if (pathconf (test_dir, _PC_CHOWN_RESTRICTED) != 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue