Mercurial > hg > octave-lyh > gnulib-hg
changeset 9536:6fb25141b290
Revert addition of verify, for BSD/OS.
* lib/fseeko.c [!HAVE_FSEEKO]: Allow off_t > long, even though it
can't handle large files, for the sake of obsolete platforms.
* modules/fseeko (Depends-on): Remove verify.
* doc/functions/fseeko.texi (fseeko): Document BSD/OS limitation.
* doc/functions/ftello.texi (ftello): Likewise.
* doc/functions/fgetpos.texi (fgetpos): Likewise.
Reported by Larry Jones.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Mon, 17 Dec 2007 21:50:40 -0700 |
parents | fdfe023323f5 |
children | 0fd4bc654b5b |
files | ChangeLog doc/functions/fgetpos.texi doc/functions/fseeko.texi doc/functions/ftello.texi lib/fseeko.c modules/fseeko |
diffstat | 6 files changed, 23 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2007-12-17 Eric Blake <ebb9@byu.net> + + Revert addition of verify, for BSD/OS. + * lib/fseeko.c [!HAVE_FSEEKO]: Allow off_t > long, even though it + can't handle large files, for the sake of obsolete platforms. + * modules/fseeko (Depends-on): Remove verify. + * doc/functions/fseeko.texi (fseeko): Document BSD/OS limitation. + * doc/functions/ftello.texi (ftello): Likewise. + * doc/functions/fgetpos.texi (fgetpos): Likewise. + Reported by Larry Jones. + 2007-12-17 Petr Salinger <Petr.Salinger@seznam.cz> getcwd.c: Use a more readable witness: HAVE_OPENAT_SUPPORT
--- a/doc/functions/fgetpos.texi +++ b/doc/functions/fgetpos.texi @@ -16,4 +16,8 @@ @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. +@item +On platforms where @code{off_t} is a 64-bit type, but @code{fseeko} is +not present, stream operations on files larger than 2 GB silently do +the wrong thing. This affects BSD/OS, which is mostly obsolete. @end itemize
--- a/doc/functions/fseeko.texi +++ b/doc/functions/fseeko.texi @@ -24,4 +24,8 @@ On platforms where @code{off_t} is a 32-bit type, @code{fseeko} does not work correctly with files larger than 2 GB. The fix is to use the @code{AC_SYS_LARGEFILE} macro. +@item +On platforms where @code{off_t} is a 64-bit type, but @code{fseeko} is +not present, stream operations on files larger than 2 GB silently do +the wrong thing. This affects BSD/OS, which is mostly obsolete. @end itemize
--- a/doc/functions/ftello.texi +++ b/doc/functions/ftello.texi @@ -28,4 +28,8 @@ @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. +@item +On platforms where @code{off_t} is a 64-bit type, but @code{fseeko} is +not present, stream operations on files larger than 2 GB silently do +the wrong thing. This affects BSD/OS, which is mostly obsolete. @end itemize