* [hurd,commited] hurd: Fix posix options
@ 2018-01-29 11:55 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2018-01-29 11:55 UTC (permalink / raw)
To: libc-alpha; +Cc: Samuel Thibault
_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 | 2 ++
sysdeps/mach/hurd/bits/posix_opt.h | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 96e4549146..3223ff58ea 100644
--- 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>
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. */
--
2.15.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-28 18:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-29 11:55 [hurd,commited] hurd: Fix posix options Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).