mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
Revert "hurd: Fix building io/tst-fchownat.c"
This reverts commit fc221145a7
.
This commit is contained in:
parent
7c5b106dcb
commit
d23965cf88
2 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue