diff options
author | Bruno Haible <bruno@clisp.org> | 2023-04-18 15:01:22 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-04-18 15:01:22 +0200 |
commit | b397f58b1ccaf507a9175f6d881758a0f23bc973 (patch) | |
tree | 1cfc7f381482181f330784cbc10ae0733bdf9723 | |
parent | 38489e5cfd83f49b21b7d3d27b1cb405c8df28b4 (diff) | |
download | gnulib-b397f58b1ccaf507a9175f6d881758a0f23bc973.tar.gz |
doc: Mention a Cygwin 3.4.6 bug.
* doc/posix-functions/readlinkat.texi: Mention a readlinkat bug on
Cygwin < 3.4.7.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | doc/posix-functions/readlinkat.texi | 5 |
2 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2023-04-18 Bruno Haible <bruno@clisp.org> + doc: Mention a Cygwin 3.4.6 bug. + * doc/posix-functions/readlinkat.texi: Mention a readlinkat bug on + Cygwin < 3.4.7. + +2023-04-18 Bruno Haible <bruno@clisp.org> + ilogbl: Work around a Cygwin 3.4.6 bug. * m4/ilogbl.m4 (gl_FUNC_ILOGBL_WORKS): Also test the value of ilogbl(NaN). diff --git a/doc/posix-functions/readlinkat.texi b/doc/posix-functions/readlinkat.texi index 2cd2e7be5b..96ae7ec67a 100644 --- a/doc/posix-functions/readlinkat.texi +++ b/doc/posix-functions/readlinkat.texi @@ -55,6 +55,11 @@ non-directory's name concatenated to @file{/}, it sets @code{errno} to @code{EINVAL}: AIX 7.2. @item +When this function is called on an empty file name, it fails with error +@code{EBADF} instead of @code{ENOENT}: +@c https://cygwin.com/pipermail/cygwin/2023-April/253510.html +Cygwin 3.4.6. +@item Symlink contents do not always have a trailing null byte, and there is no indication if symlink contents were truncated if the return value matches the length. Furthermore, |