[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] open, openat: document nonstandard FreeBSD, NetBSD O_NOFOLLOW er
From: |
Paul Eggert |
Subject: |
[PATCH] open, openat: document nonstandard FreeBSD, NetBSD O_NOFOLLOW errno |
Date: |
Sun, 2 Nov 2014 22:25:04 -0800 |
* doc/posix-functions/open.texi (open):
* doc/posix-functions/openat.texi (openat):
Document that these functions do not set errno to ELOOP when
a symlink is opened with O_NOFOLLOW.
---
ChangeLog | 8 ++++++++
doc/posix-functions/open.texi | 10 ++++++++++
doc/posix-functions/openat.texi | 10 ++++++++++
3 files changed, 28 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 1f80f39..12dc392 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-11-02 Paul Eggert <address@hidden>
+
+ open, openat: document nonstandard FreeBSD, NetBSD O_NOFOLLOW errno
+ * doc/posix-functions/open.texi (open):
+ * doc/posix-functions/openat.texi (openat):
+ Document that these functions do not set errno to ELOOP when
+ a symlink is opened with O_NOFOLLOW.
+
2014-10-31 Paul Eggert <address@hidden>
obstack: add NEWS entry for recent incompatible changes
diff --git a/doc/posix-functions/open.texi b/doc/posix-functions/open.texi
index dd33e82..dce5466 100644
--- a/doc/posix-functions/open.texi
+++ b/doc/posix-functions/open.texi
@@ -35,6 +35,16 @@ read-only descriptor for directories.
Portability problems not fixed by Gnulib:
@itemize
@item
address@hidden ("symlink", O_NOFOLLOW ...)} fails with @code{errno} set to
address@hidden instead of the POSIX-required @code{ELOOP} on some
+platforms:
+FreeBSD 10.1.
address@hidden
address@hidden ("symlink", O_NOFOLLOW ...)} fails with @code{errno} set to
address@hidden instead of the POSIX-required @code{ELOOP} on some
+platforms:
+NetBSD 6.1.
address@hidden
On Windows, this function returns a file handle in @code{O_TEXT} mode by
default; this means that it translates @code{'\n'} to CR/LF by default. Use
the
@code{O_BINARY} flag if you need reliable binary I/O.
diff --git a/doc/posix-functions/openat.texi b/doc/posix-functions/openat.texi
index 0042767..fa3eb65 100644
--- a/doc/posix-functions/openat.texi
+++ b/doc/posix-functions/openat.texi
@@ -25,4 +25,14 @@ Solaris 9.
Portability problems not fixed by Gnulib:
@itemize
address@hidden
address@hidden (fd, "symlink", O_NOFOLLOW ...)} fails with @code{errno}
+set to @code{EMLINK} instead of the POSIX-required @code{ELOOP} on
+some platforms:
+FreeBSD 10.1.
address@hidden
address@hidden (fd, "symlink", O_NOFOLLOW ...)} fails with @code{errno}
+set to @code{EFTYPE} instead of the POSIX-required @code{ELOOP} on
+some platforms:
+NetBSD 6.1.
@end itemize
--
1.9.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] open, openat: document nonstandard FreeBSD, NetBSD O_NOFOLLOW errno,
Paul Eggert <=