]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Fix posix options
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 28 Jan 2018 18:13:55 +0000 (19:13 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 28 Jan 2018 18:13:55 +0000 (19:13 +0100)
_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.

ChangeLog
sysdeps/mach/hurd/bits/posix_opt.h

index 96e4549146f4ece417fac8b10e29a0fc36dc73e7..3223ff58ea522147dc85a848a4c55026fbb5478f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -90,6 +90,8 @@
        _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
        __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
        _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
+       * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
+       _POSIX_NO_TRUNC): Define to 0.
 
 2008-12-18  Thomas Schwinge  <tschwinge@gnu.org>
 
index f299e3f7b92a6081bc8fcb3f920c0f9ba2ef2e63..03082adaa6aa5968b1c572817d617d0c9619927b 100644 (file)
@@ -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.  */