summaryrefslogtreecommitdiff
path: root/doc/posix-functions/ftello.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-24 19:48:47 +0200
committerBruno Haible <bruno@clisp.org>2023-04-24 19:48:47 +0200
commitc254399aae1fb663ff9d3038aa4725213afc2cc3 (patch)
tree6acd0c1e4371284a5d8099bc8c93995bd618f6fe /doc/posix-functions/ftello.texi
parentca5545a273810bb759fb854f70b8d228b6094ff0 (diff)
downloadgnulib-c254399aae1fb663ff9d3038aa4725213afc2cc3.tar.gz
ftell, ftello: Fix recognition of pipes on native Windows.
* m4/lseek.m4 (gl_FUNC_LSEEK): Update comment. * m4/ftello.m4 (gl_FUNC_FTELLO): On native Windows, set REPLACE_FTELLO=1 always. * doc/posix-functions/ftello.texi: Mention the behaviour on pipes. * doc/posix-functions/ftell.texi: Likewise. * doc/posix-functions/fgetpos.texi: Likewise.
Diffstat (limited to 'doc/posix-functions/ftello.texi')
-rw-r--r--doc/posix-functions/ftello.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/posix-functions/ftello.texi b/doc/posix-functions/ftello.texi
index ded1df0c11..4e9427015c 100644
--- a/doc/posix-functions/ftello.texi
+++ b/doc/posix-functions/ftello.texi
@@ -27,6 +27,9 @@ macOS 10.15 and newer.
@item
This function fails on seekable stdin, stdout, and stderr: cygwin <= 1.5.24.
@item
+This function mistakenly succeeds on pipes on some platforms:
+mingw 10.
+@item
On platforms where @code{off_t} is a 32-bit type, @code{ftello} does not work
correctly with files 2 GiB and larger. @xref{Large File Support}.
@end itemize