diff options
author | Bruno Haible <bruno@clisp.org> | 2023-04-24 19:48:47 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-04-24 19:48:47 +0200 |
commit | c254399aae1fb663ff9d3038aa4725213afc2cc3 (patch) | |
tree | 6acd0c1e4371284a5d8099bc8c93995bd618f6fe /doc/posix-functions/fgetpos.texi | |
parent | ca5545a273810bb759fb854f70b8d228b6094ff0 (diff) | |
download | gnulib-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/fgetpos.texi')
-rw-r--r-- | doc/posix-functions/fgetpos.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/posix-functions/fgetpos.texi b/doc/posix-functions/fgetpos.texi index 89e3acd58f..4a0051ea23 100644 --- a/doc/posix-functions/fgetpos.texi +++ b/doc/posix-functions/fgetpos.texi @@ -19,4 +19,7 @@ Portability problems not fixed by Gnulib: @code{fflush}, @code{ftell}, @code{ftello}, @code{fgetpos} behave incorrectly on input streams that are opened in @code{O_TEXT} mode and whose contents contains Unix line terminators (LF), on some platforms: mingw, MSVC 14. +@item +This function mistakenly succeeds on pipes on some platforms: +mingw 10. @end itemize |