From 5178e5eee63c93e68194a734442f84a3f6b2d63a Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 1 May 2010 19:20:12 +0200 Subject: [PATCH] Fix doc about a HP-UX stdio bug. --- ChangeLog | 6 ++++++ doc/posix-functions/ftell.texi | 8 ++++---- doc/posix-functions/ftello.texi | 8 ++++---- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 19e11dd56..6f413790c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2010-05-01 Bruno Haible + Fix doc about a HP-UX stdio bug. + * doc/posix-functions/ftell.texi: Mark HP-UX bug as unfixed. + * doc/posix-functions/ftello.texi: Likewise. + +2010-05-01 Bruno Haible + lseek test: Fix failure on Solaris. * tests/test-lseek.sh: Partially revert 2010-04-20 commit. Consume all output. diff --git a/doc/posix-functions/ftell.texi b/doc/posix-functions/ftell.texi index aaa65f998..f2cf56826 100644 --- a/doc/posix-functions/ftell.texi +++ b/doc/posix-functions/ftell.texi @@ -10,15 +10,15 @@ Portability problems fixed by Gnulib: @itemize @item This function mistakenly succeeds on pipes on some platforms: mingw. -@item -This function produces incorrect results immediately after @code{fseek} on some -platforms: -HP-UX 11. @end itemize Portability problems not fixed by Gnulib: @itemize @item +This function produces incorrect results immediately after @code{fseek} on some +platforms: +HP-UX 11. +@item @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. diff --git a/doc/posix-functions/ftello.texi b/doc/posix-functions/ftello.texi index 46ce43338..66a96c06e 100644 --- a/doc/posix-functions/ftello.texi +++ b/doc/posix-functions/ftello.texi @@ -15,10 +15,6 @@ IRIX 5.3, OSF/1 4.0, Solaris 2.5.1, mingw. The declaration of @code{ftello} in @code{} is not enabled by default on some platforms: glibc 2.3.6. @item -This function produces incorrect results immediately after @code{fseek} on some -platforms: -HP-UX 11. -@item This function fails on seekable stdin, stdout, and stderr: cygwin <= 1.5.24. @end itemize @@ -29,6 +25,10 @@ On platforms where @code{off_t} is a 32-bit type, @code{ftello} does not work correctly with files larger than 2 GB. The fix is to use the @code{AC_SYS_LARGEFILE} macro. @item +This function produces incorrect results immediately after @code{fseek} on some +platforms: +HP-UX 11. +@item @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. -- 2.11.0