diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-07-26 02:48:03 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-07-26 02:50:07 +0200 |
commit | 599a664564268f6a1b5895c928a59459c9851b2a (patch) | |
tree | 634f930c7703684527d9c8dc225e7c8f56e6bd6e /doc/posix-functions/open.texi | |
parent | 2949b7fd942e2dc3470dfcc42fd6b77e6b27418a (diff) | |
download | gnulib-599a664564268f6a1b5895c928a59459c9851b2a.tar.gz |
Add dependencies to the 'largefile' module.
* modules/fopen (Depends-on): Add 'largefile'.
* modules/freopen (Depends-on): Likewise.
* modules/fseeko (Depends-on): Likewise.
* modules/ftello (Depends-on): Likewise.
* modules/glob (Depends-on): Likewise.
* modules/lseek (Depends-on): Likewise.
* modules/lstat (Depends-on): Likewise.
* modules/mkostemp (Depends-on): Likewise.
* modules/mkostemps (Depends-on): Likewise.
* modules/mkstemp (Depends-on): Likewise.
* modules/mkstemps (Depends-on): Likewise.
* modules/open (Depends-on): Likewise.
* modules/openat (Depends-on): Likewise.
* modules/pread (Depends-on): Likewise.
* modules/pwrite (Depends-on): Likewise.
* modules/scandir (Depends-on): Likewise.
* modules/stat (Depends-on): Likewise.
* modules/tmpfile (Depends-on): Likewise.
* m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Do not require AC_SYS_LARGEFILE,
since the containing module now depends on the largefile module.
* m4/tempname.m4 (gl_FUNC_GEN_TEMPNAME): Likewise.
* doc/posix-functions/fopen.texi: Mention that the problem of 32-bit
off_t is fixed by gnulib.
* doc/posix-functions/freopen.texi: Likewise.
* doc/posix-functions/fseeko.texi: Likewise.
* doc/posix-functions/fstatat.texi: Likewise.
* doc/posix-functions/ftello.texi: Likewise.
* doc/posix-functions/glob.texi: Likewise.
* doc/posix-functions/lseek.texi: Likewise.
* doc/posix-functions/lstat.texi: Likewise.
* doc/posix-functions/mkstemp.texi: Likewise.
* doc/posix-functions/open.texi: Likewise.
* doc/posix-functions/openat.texi: Likewise.
* doc/posix-functions/pread.texi: Likewise.
* doc/posix-functions/pwrite.texi: Likewise.
* doc/posix-functions/scandir.texi: Likewise.
* doc/posix-functions/stat.texi: Likewise.
* doc/posix-functions/tmpfile.texi: Likewise.
* doc/glibc-functions/mkostemp.texi: Likewise.
* doc/glibc-functions/mkostemps.texi: Likewise.
* doc/glibc-functions/mkstemps.texi: Likewise.
Diffstat (limited to 'doc/posix-functions/open.texi')
-rw-r--r-- | doc/posix-functions/open.texi | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/posix-functions/open.texi b/doc/posix-functions/open.texi index 55b333cc78..de10f9f0d4 100644 --- a/doc/posix-functions/open.texi +++ b/doc/posix-functions/open.texi @@ -9,6 +9,9 @@ Gnulib module: open, fchdir Portability problems fixed by the Gnulib module open: @itemize @item +On platforms where @code{off_t} is a 32-bit type, @code{open} may not work +correctly with files larger than 2 GB. (Cf. @code{AC_SYS_LARGEFILE}.) +@item This function does not fail when the file name argument ends in a slash and (without the slash) names a nonexistent file or a file that is not a directory, on some platforms: @@ -35,8 +38,4 @@ Portability problems not fixed by Gnulib: On Windows, this function returns a file handle in @code{O_TEXT} mode by default; this means that it translates '\n' to CR/LF by default. Use the @code{O_BINARY} flag if you need reliable binary I/O. -@item -On platforms where @code{off_t} is a 32-bit type, @code{open} may not work -correctly with files larger than 2 GB. The fix is to use the -@code{AC_SYS_LARGEFILE} macro. @end itemize |