diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-28 19:13:55 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-28 19:13:55 +0100 |
commit | b10253044b49a0b6464b4837afc02755295c4a5c (patch) | |
tree | 10e740b7cee8fe367c6ebe708ccb3e5070a9e9ed /sysdeps/mach | |
parent | d23965cf888f38b5ae4b27f1c8f9cba6674e1780 (diff) | |
download | glibc-b10253044b49a0b6464b4837afc02755295c4a5c.tar.gz glibc-b10253044b49a0b6464b4837afc02755295c4a5c.tar.xz glibc-b10253044b49a0b6464b4837afc02755295c4a5c.zip |
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.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/bits/posix_opt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/bits/posix_opt.h b/sysdeps/mach/hurd/bits/posix_opt.h index f299e3f7b9..03082adaa6 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. */ |