Add dependencies to the 'largefile' module.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Jul 2011 00:48:03 +0000 (02:48 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 26 Jul 2011 00:50:07 +0000 (02:50 +0200)
* 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.

40 files changed:
ChangeLog
doc/glibc-functions/mkostemp.texi
doc/glibc-functions/mkostemps.texi
doc/glibc-functions/mkstemps.texi
doc/posix-functions/fopen.texi
doc/posix-functions/freopen.texi
doc/posix-functions/fseeko.texi
doc/posix-functions/fstatat.texi
doc/posix-functions/ftello.texi
doc/posix-functions/glob.texi
doc/posix-functions/lseek.texi
doc/posix-functions/lstat.texi
doc/posix-functions/mkstemp.texi
doc/posix-functions/open.texi
doc/posix-functions/openat.texi
doc/posix-functions/pread.texi
doc/posix-functions/pwrite.texi
doc/posix-functions/scandir.texi
doc/posix-functions/stat.texi
doc/posix-functions/tmpfile.texi
m4/mkstemp.m4
m4/tempname.m4
modules/fopen
modules/freopen
modules/fseeko
modules/ftello
modules/glob
modules/lseek
modules/lstat
modules/mkostemp
modules/mkostemps
modules/mkstemp
modules/mkstemps
modules/open
modules/openat
modules/pread
modules/pwrite
modules/scandir
modules/stat
modules/tmpfile

index 3ba89e5de233b21419997677f330d8309c4a922f..27ef7ad20736352b47eaaae4543c71711efe7322 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,49 @@
+2011-07-25  Paul Eggert  <eggert@cs.ucla.edu>
+           Bruno Haible  <bruno@clisp.org>
+
+       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.
+
 2011-07-25  Bruno Haible  <bruno@clisp.org>
 
        fcntl: Move AC_LIBOBJ invocation to module description.
index f9635ed55c0410ea8b91a638e4fba848580d183a..e424b3bfa4104234992c60e24e38eb599cf65604 100644 (file)
@@ -10,14 +10,13 @@ Portability problems fixed by Gnulib:
 This function is missing on many non-glibc platforms:
 MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX 5.1, HP-UX 11,
 IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, Cygwin 1.7.5, mingw, Interix 3.5, BeOS.
+@item
+On platforms where @code{off_t} is a 32-bit type, @code{mkostemp} may not work
+correctly to create files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
 @end itemize
 
 Portability problems not fixed by Gnulib:
 @itemize
-@item
-On platforms where @code{off_t} is a 32-bit type, @code{mkostemp} may not work
-correctly to create files larger than 2 GB.  The fix is to use the
-@code{AC_SYS_LARGEFILE} macro.
 @end itemize
 
 The gnulib module @code{clean-temp} can create temporary files that will not
index 07e5e18a91dd720ebaf541ecdf4b5f9736518742..1265cc81012e6101b87344361cf6bf94e223cda0 100644 (file)
@@ -10,14 +10,13 @@ Portability problems fixed by Gnulib:
 This function is missing on many non-glibc platforms:
 glibc 2.10, MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX
 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, Cygwin 1.7.5, mingw, Interix 3.5, BeOS.
+@item
+On platforms where @code{off_t} is a 32-bit type, @code{mkostemps} may not work
+correctly to create files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
 @end itemize
 
 Portability problems not fixed by Gnulib:
 @itemize
-@item
-On platforms where @code{off_t} is a 32-bit type, @code{mkostemps} may not work
-correctly to create files larger than 2 GB.  The fix is to use the
-@code{AC_SYS_LARGEFILE} macro.
 @end itemize
 
 The gnulib module @code{clean-temp} can create temporary files that will not
index 5cd0b3bceb631e388aa11993e186bb51b376d726..e367c951f016246ca50539730e688897a2862c1e 100644 (file)
@@ -14,14 +14,13 @@ glibc 2.10, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin
 This function is declared in @code{<unistd.h>} instead of @code{<stdlib.h>}
 on some platforms:
 MacOS X 10.5.
+@item
+On platforms where @code{off_t} is a 32-bit type, @code{mkstemps} may not work
+correctly to create files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
 @end itemize
 
 Portability problems not fixed by Gnulib:
 @itemize
-@item
-On platforms where @code{off_t} is a 32-bit type, @code{mkstemps} may not work
-correctly to create files larger than 2 GB.  The fix is to use the
-@code{AC_SYS_LARGEFILE} macro.
 @end itemize
 
 The gnulib module @code{clean-temp} can create temporary files that will not
index 77f671d36c10a4c830d0a1c590746f8429c6d5ff..167a1477a8dfb1a0e891a4c07d736b0eeaaff811 100644 (file)
@@ -14,6 +14,9 @@ and (without the slash) names a nonexistent file or a file that is not a
 directory, on some platforms:
 HP-UX 11.00, AIX 7.1, Solaris 9, Irix 5.3.
 @item
+On platforms where @code{off_t} is a 32-bit type, @code{fopen} may not work
+correctly with files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
+@item
 On Windows platforms (excluding Cygwin), this function does usually not
 recognize the @file{/dev/null} filename.
 @end itemize
@@ -28,10 +31,6 @@ On Windows, this function returns a file stream in ``text'' mode by default;
 this means that it translates @code{'\n'} to CR/LF by default.  Use the
 @code{"b"} flag if you need reliable binary I/O.
 @item
-On platforms where @code{off_t} is a 32-bit type, @code{fopen} may not work
-correctly with files larger than 2 GB.  The fix is to use the
-@code{AC_SYS_LARGEFILE} macro.
-@item
 On Windows platforms (excluding Cygwin), this function fails to open
 directories for reading.  Such streams have implementation-defined
 semantics on other platforms.  To avoid directory streams with a
index 23595e003c336cdec7e1fe77739034a39da0f05f..e1a077a1908cfff515d635e02060b9320225cb40 100644 (file)
@@ -9,6 +9,9 @@ Gnulib module: freopen
 Portability problems fixed by Gnulib:
 @itemize
 @item
+On platforms where @code{off_t} is a 32-bit type, @code{freopen} may not work
+correctly with files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
+@item
 On Windows platforms (excluding Cygwin), this function does usually not
 recognize the @file{/dev/null} filename.
 @end itemize
@@ -24,10 +27,6 @@ and (without the slash) names a nonexistent file or a file that is not a
 directory, on some platforms:
 HP-UX 11.00, Solaris 9, Irix 5.3.
 @item
-On platforms where @code{off_t} is a 32-bit type, @code{freopen} may not work
-correctly with files larger than 2 GB.  The fix is to use the
-@code{AC_SYS_LARGEFILE} macro.
-@item
 Applications should not assume that @code{fileno(f)} will be the same
 before and after a call to @code{freopen(name,mode,f)}.  However, the
 module freopen-safer can at least protect @code{stdin}, @code{stdout},
index 34095cfea7c6b29fb08a8cc4746e75e3586d05b0..65fe5c7781d082e8aaeb2e67247b07257033c019 100644 (file)
@@ -17,15 +17,14 @@ on some platforms:
 glibc 2.3.6, OSF/1 5.1.
 @item
 This function fails on seekable stdin, stdout, and stderr: cygwin <= 1.5.24.
+@item
+On platforms where @code{off_t} is a 32-bit type, @code{fseeko} does not work
+correctly with files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
 @end itemize
 
 Portability problems not fixed by Gnulib:
 @itemize
 @item
-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.
index e146fa292897ed18a8e9f50448f33bafdd96c52a..471522c215c7ab60d46d89321ae2a3107ec55800 100644 (file)
@@ -14,6 +14,10 @@ glibc 2.3.6, MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX
 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Cygwin 1.5.x, mingw, Interix 3.5, BeOS.
 But the replacement function is not safe to be used in libraries and is not multithread-safe.
 @item
+On platforms where @code{off_t} is a 32-bit type, @code{fstatat} may
+not correctly report the size of files or block devices larger than 2
+GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
+@item
 On some platforms, @code{fstatat(fd,"file/",buf,flag)} succeeds instead of
 failing with @code{ENOTDIR}.
 Solaris 9.
@@ -26,10 +30,6 @@ Solaris 9.
 Portability problems not fixed by Gnulib:
 @itemize
 @item
-On platforms where @code{off_t} is a 32-bit type, @code{fstatat} may
-not correctly report the size of files or block devices larger than 2
-GB.  The fix is to use the @code{AC_SYS_LARGEFILE} macro.
-@item
 On Windows platforms (excluding Cygwin), @code{st_ino} is always 0.
 @item
 On some file systems, @code{st_size} contains bogus information for
index 2a33a7f0c1ce1fba4d9a055bda96aa6c4e34fcba..534fbe0cb13c7d9b214c4102fead011c8c3b7b3c 100644 (file)
@@ -21,15 +21,14 @@ This function produces incorrect results after @code{putc} that followed a
 Solaris 11 2010-11.
 @item
 This function fails on seekable stdin, stdout, and stderr: cygwin <= 1.5.24.
+@item
+On platforms where @code{off_t} is a 32-bit type, @code{ftello} does not work
+correctly with files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
 @end itemize
 
 Portability problems not fixed by Gnulib:
 @itemize
 @item
-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.
index 1f236bf0cb65af1b54566c351b79e9480b64cd3e..648272929b5759411c32b2e21f0b2bdc19f69bb8 100644 (file)
@@ -14,14 +14,14 @@ IRIX 5.3, mingw, BeOS.
 @item
 This function may list symbolic links to nonexistent files among the results,
 on some platforms.
+@item
+On platforms where @code{off_t} is a 32-bit type, this function may not
+work correctly on huge directories larger than 2 GB.
+(Cf. @code{AC_SYS_LARGEFILE}.)
 @end itemize
 
 Portability problems not fixed by Gnulib:
 @itemize
 @item
-On platforms where @code{off_t} is a 32-bit type, this function may not
-work correctly on huge directories larger than 2 GB.  The fix is to use
-the @code{AC_SYS_LARGEFILE} macro.
-@item
 Some platforms may store additional flags in the @code{gl_flags} field.
 @end itemize
index 3a19327cd8b3a7bfdaedf3304809ab543c1f1de6..f709515f6250b9dba3b4bb5fd5c8f879b8f8fedf 100644 (file)
@@ -9,6 +9,9 @@ Gnulib module: lseek
 Portability problems fixed by Gnulib:
 @itemize
 @item
+On platforms where @code{off_t} is a 32-bit type, @code{lseek} does not work
+correctly with files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
+@item
 This function mistakenly succeeds on pipes on some platforms: mingw, BeOS.
 @end itemize
 
@@ -19,10 +22,6 @@ POSIX does not specify which file descriptors support seeking and which don't.
 In practice, regular files and block devices support seeking, and ttys, pipes,
 and most character devices don't support it.
 @item
-On platforms where @code{off_t} is a 32-bit type, @code{lseek} does not work
-correctly with files larger than 2 GB.  The fix is to use the
-@code{AC_SYS_LARGEFILE} macro.
-@item
 When the third argument is invalid, POSIX says that @code{lseek} should set
 @code{errno} to @code{EINVAL} and return -1, but in this situation a
 @code{SIGSYS} signal is raised on some platforms:
index 2989678af041ffe03d052adabfc2a5ed51f33c46..8ffa66f5cd1edb060d30dce28852ada1387208be 100644 (file)
@@ -9,6 +9,10 @@ Gnulib module: lstat
 Portability problems fixed by Gnulib:
 @itemize
 @item
+On platforms where @code{off_t} is a 32-bit type, @code{lstat} may not
+correctly report the size of files or block devices larger than 2 GB.
+(Cf. @code{AC_SYS_LARGEFILE}.)
+@item
 For symlinks, when the argument ends in a slash, some platforms don't
 dereference the argument:
 Solaris 9.
@@ -24,10 +28,6 @@ On Windows platforms (excluding Cygwin), symlinks are not supported, so
 Portability problems not fixed by Gnulib:
 @itemize
 @item
-On platforms where @code{off_t} is a 32-bit type, @code{lstat} may not
-correctly report the size of files or block devices larger than 2 GB.  The fix
-is to use the @code{AC_SYS_LARGEFILE} macro.
-@item
 On Windows platforms (excluding Cygwin), @code{st_ino} is always 0.
 @item
 Because of the definition of @code{struct stat}, it is not possible to
index b31bd07bc9a9ff0d7831f677be9e3b3fc59768c1..e461b2790a621043effed132b5242fccb7093f82 100644 (file)
@@ -20,6 +20,9 @@ On some platforms (HP-UX 10.20, SunOS 4.1.4, Solaris 2.5.1), mkstemp has a silly
 limit that it can create no more than 26 files from a given template.  On
 OSF/1 4.0f, it can create only 32 files per process.
 @item
+On platforms where @code{off_t} is a 32-bit type, @code{mkstemp} may not work
+correctly to create files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
+@item
 On some older platforms, @code{mkstemp} can create a world or group
 writable or readable file, if you haven't set the process umask to
 077.  This is a security risk.
@@ -27,10 +30,6 @@ writable or readable file, if you haven't set the process umask to
 
 Portability problems not fixed by Gnulib:
 @itemize
-@item
-On platforms where @code{off_t} is a 32-bit type, @code{mkstemp} may not work
-correctly to create files larger than 2 GB.  The fix is to use the
-@code{AC_SYS_LARGEFILE} macro.
 @end itemize
 
 The gnulib module @code{clean-temp} can create temporary files that will not
index 55b333cc78cf0211b4a39ef53668ca15f88016b2..de10f9f0d4010e7b365aee6a10328637941f4147 100644 (file)
@@ -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
index 6311515416b8dc82c5f475bf3c7cae9d390fc8b5..6b4d69fb616c5446f39c4c7299b302cc0285fef9 100644 (file)
@@ -14,6 +14,9 @@ glibc 2.3.6, MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX
 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Cygwin 1.5.x, mingw, Interix 3.5, BeOS.
 But the replacement function is not safe to be used in libraries and is not multithread-safe.
 @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:
@@ -22,8 +25,4 @@ Solaris 9.
 
 Portability problems not fixed by Gnulib:
 @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.  The fix is to use the
-@code{AC_SYS_LARGEFILE} macro.
 @end itemize
index b86e8a412fa926dde37e800efc80cdf652226ca1..55dd72d1345a88a95203d6a7122304b878988f45 100644 (file)
@@ -12,6 +12,9 @@ Portability problems fixed by Gnulib:
 This function is missing on some platforms:
 HP-UX 10, mingw, BeOS.
 @item
+On platforms where @code{off_t} is a 32-bit type, this function may not
+work correctly on files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
+@item
 This function returns zero instead of positive values when large file support
 is enabled on some platforms:
 HP-UX 11.11.
@@ -22,8 +25,4 @@ HP-UX 11.31.
 
 Portability problems not fixed by Gnulib:
 @itemize
-@item
-On platforms where @code{off_t} is a 32-bit type, this function may not
-work correctly on files larger than 2 GB.  The fix is to use the
-@code{AC_SYS_LARGEFILE} macro.
 @end itemize
index 713e07e4db6dde56aac8cbbb3b0f9b54c7ff4cf5..c214a54d185eb01d76a5c157f6a56d5faed36284 100644 (file)
@@ -12,6 +12,9 @@ Portability problems fixed by Gnulib:
 This function is missing on some platforms:
 HP-UX 10, mingw, BeOS.
 @item
+On platforms where @code{off_t} is a 32-bit type, this function may not
+work correctly on files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
+@item
 This function does not fail when an invalid (negative) offset is passed when
 large file support is enabled on some platforms:
 HP-UX 11.11.
@@ -23,8 +26,4 @@ HP-UX 11.11.
 
 Portability problems not fixed by Gnulib:
 @itemize
-@item
-On platforms where @code{off_t} is a 32-bit type, this function may not
-work correctly on files larger than 2 GB.  The fix is to use the
-@code{AC_SYS_LARGEFILE} macro.
 @end itemize
index 6a7f2942894b621e7b47745afc95fe5113e3516b..710f77ccc235f5c648b6d4074601688943a9f65c 100644 (file)
@@ -11,6 +11,11 @@ Portability problems fixed by Gnulib:
 @item
 This function is missing on some platforms:
 Solaris 9, mingw, BeOS.
+@item
+On platforms where @code{off_t} is a 32-bit type, this function may not
+work correctly on huge directories larger than 2 GB.  Also, on platforms
+where @code{ino_t} is a 32-bit type, this function may report inode numbers
+incorrectly.  (Cf. @code{AC_SYS_LARGEFILE}.)
 @end itemize
 
 Portability problems not fixed by Gnulib:
@@ -21,9 +26,4 @@ glibc 2.3.6, MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Interix 3.5.
 @item
 The fourth parameter of this function is declared as @code{int (*) (void *, void *)} on some platforms:
 AIX 5.1.
-@item
-On platforms where @code{off_t} is a 32-bit type, this function may not
-work correctly on huge directories larger than 2 GB.  Also, on platforms
-where @code{ino_t} is a 32-bit type, this function may report inode numbers
-incorrectly.  The fix is to use the @code{AC_SYS_LARGEFILE} macro.
 @end itemize
index c10896e993ebd5bb2092789632e2cef6ae6750a7..18303f6b12a1493030ae47be263b3471357ea6b7 100644 (file)
@@ -9,6 +9,10 @@ Gnulib module: stat
 Portability problems fixed by Gnulib:
 @itemize
 @item
+On platforms where @code{off_t} is a 32-bit type, @code{stat} may not correctly
+report the size of files or block devices larger than 2 GB.
+(Cf. @code{AC_SYS_LARGEFILE}.)
+@item
 On some platforms, @code{stat("link-to-file/",buf)} succeeds instead
 of failing with @code{ENOTDIR}.
 FreeBSD 7.2, AIX 7.1, Solaris 9.
@@ -21,10 +25,6 @@ mingw.
 Portability problems not fixed by Gnulib:
 @itemize
 @item
-On platforms where @code{off_t} is a 32-bit type, @code{stat} may not correctly
-report the size of files or block devices larger than 2 GB.  The fix is to
-use the @code{AC_SYS_LARGEFILE} macro.
-@item
 Cygwin's @code{stat} function sometimes sets @code{errno} to @code{EACCES} when
 @code{ENOENT} would be more appropriate.
 @item
index 186683603c32c12825ed8ac5990a6c3ecf40356f..69aa9a4ecf8ce387d689bdd5efce2a9693b49268 100644 (file)
@@ -11,12 +11,11 @@ Portability problems fixed by Gnulib:
 @item
 This function often fails for trivial reasons on some platforms:
 mingw.
+@item
+On platforms where @code{off_t} is a 32-bit type, @code{tmpfile} may not work
+correctly to create files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
 @end itemize
 
 Portability problems not fixed by Gnulib:
 @itemize
-@item
-On platforms where @code{off_t} is a 32-bit type, @code{tmpfile} may not work
-correctly to create files larger than 2 GB.  The fix is to use the
-@code{AC_SYS_LARGEFILE} macro.
 @end itemize
index 0bc918c1081a59ed1911f37d7018c24315471512..ef3c6896647c45b4b227cb866684103b3443b260 100644 (file)
@@ -1,4 +1,4 @@
-#serial 21
+#serial 22
 
 # Copyright (C) 2001, 2003-2007, 2009-2011 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -16,7 +16,6 @@
 AC_DEFUN([gl_FUNC_MKSTEMP],
 [
   AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
-  AC_REQUIRE([AC_SYS_LARGEFILE])
 
   AC_CHECK_FUNCS_ONCE([mkstemp])
   if test $ac_cv_func_mkstemp = yes; then
index 633b6719a926531aa54be8eea59f92828a32aa76..5b726a6913fb8d9f690d726d8c9f1ac833d247a8 100644 (file)
@@ -1,4 +1,4 @@
-#serial 4
+#serial 5
 
 # Copyright (C) 2006-2007, 2009-2011 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -9,8 +9,6 @@
 # it as a public API, and provide it on systems that are lacking.
 AC_DEFUN([gl_FUNC_GEN_TEMPNAME],
 [
-  AC_REQUIRE([AC_SYS_LARGEFILE])
-
   gl_PREREQ_TEMPNAME
 ])
 
index 13799e987e71fd8c9d0e931de7388e858da01a00..64a7559e6edd75c8d5550e17397531123c64b328 100644 (file)
@@ -7,6 +7,7 @@ m4/fopen.m4
 
 Depends-on:
 stdio
+largefile
 unistd          [test $REPLACE_FOPEN = 1]
 
 configure.ac:
index 8704c04f4c8d8394982ea505a1d2375cb27af325..4a355b0923f763f69567fff344e5d6258b00fc9c 100644 (file)
@@ -7,6 +7,7 @@ m4/freopen.m4
 
 Depends-on:
 stdio
+largefile
 
 configure.ac:
 gl_FUNC_FREOPEN
index 07f78e5550b4456cc99d721c74e9733101a5f296..75b129ca5c68a1ae3309f77a4f12e1aea9d32bb5 100644 (file)
@@ -8,6 +8,7 @@ m4/fseeko.m4
 
 Depends-on:
 extensions
+largefile
 lseek
 stdio
 # Just to guarantee consistency between fseek() and fseeko().
index 73aa81157ef79dd40d70dea738b8f3f96a0c218c..b64d80eea31ac8c8f792c431778e39b9855bb880 100644 (file)
@@ -10,6 +10,7 @@ m4/ftello.m4
 Depends-on:
 stdio
 extensions
+largefile
 lseek           [test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1]
 # Just to guarantee consistency between ftell() and ftello().
 ftell
index 5a8b4aefe18c0aeb7f797b681ea5777606d09fa1..a731c27231e27dc48a9838c808a0091cd1cdc124 100644 (file)
@@ -10,6 +10,7 @@ m4/glob.m4
 
 Depends-on:
 extensions
+largefile
 snippet/arg-nonnull
 snippet/c++defs
 snippet/warn-on-use
index 5b4a267a628ad52efff83766881c11db62995ad6..0fc7923f6576d11d2981b2b468e7818919b65a06 100644 (file)
@@ -7,6 +7,7 @@ m4/lseek.m4
 
 Depends-on:
 unistd
+largefile
 
 configure.ac:
 gl_FUNC_LSEEK
index dbe7e11501cd6a25c20fe2746f13884956ebdb82..7fe97caabc431031d0febc9f4e3a7654cb9c7bef 100644 (file)
@@ -7,6 +7,7 @@ m4/lstat.m4
 
 Depends-on:
 sys_stat
+largefile
 dosname         [test $REPLACE_LSTAT = 1]
 stat            [test $REPLACE_LSTAT = 1]
 
index 299b01f27c94c7ebc3c69e97b75bc7193c4e70fa..ee0ae4acf21f175fa8f36d6a2c893f16c7505492 100644 (file)
@@ -9,6 +9,7 @@ m4/mkostemp.m4
 Depends-on:
 stdlib
 extensions
+largefile
 tempname        [test $HAVE_MKOSTEMP = 0]
 
 configure.ac:
index 2061f695180b7a1aefad88f6f34cac7e40a0b8e7..fb956f9c5a8fb8165e87d769476ad2822a3e0857 100644 (file)
@@ -9,6 +9,7 @@ m4/mkostemps.m4
 Depends-on:
 stdlib
 extensions
+largefile
 tempname        [test $HAVE_MKOSTEMPS = 0]
 
 configure.ac:
index 9ac5b3fe64e83a33d5ce08eb35863ce363f8fcbc..780908fea0a1bca9c3a6111fbcb1213cba77310f 100644 (file)
@@ -8,6 +8,7 @@ m4/mkstemp.m4
 Depends-on:
 stdlib
 extensions
+largefile
 tempname        [test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1]
 
 configure.ac:
index cb3e5722f71bd65a34a85086e127143ea2599a72..61af8d5fcd97026ee67b643479bf4e42a089497a 100644 (file)
@@ -8,6 +8,7 @@ m4/mkstemps.m4
 Depends-on:
 stdlib
 extensions
+largefile
 tempname        [test $HAVE_MKSTEMPS = 0]
 
 configure.ac:
index bf471380be09e37f479042cd475bca92e4f7cf11..a504aee9c8e5da2c6d5999a06a11574a705d86f0 100644 (file)
@@ -8,6 +8,7 @@ m4/mode_t.m4
 
 Depends-on:
 fcntl-h
+largefile
 stat            [test $REPLACE_OPEN = 1]
 
 configure.ac:
index b9ce4d46ab1accd47e82b911f74374917a314e77..5b32d8549968e096f33dc9c72cd2d63a6dd66aed 100644 (file)
@@ -24,6 +24,7 @@ fcntl-h
 fdopendir
 gettext-h
 intprops
+largefile
 lchown          [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
 lstat
 mkdir           [test $HAVE_MKDIRAT = 0]
index 537563a9dcf088f7c687ff12e5cf066eac769753..7281cd6ad4b4ae3ce64fa823d4105500d9b80e09 100644 (file)
@@ -8,6 +8,7 @@ m4/pread.m4
 Depends-on:
 unistd
 extensions
+largefile
 lseek           [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1]
 read            [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1]
 
index aadce1ef364ec4aa8d46e51942c42f98bad30d05..78843d4bc689e64e0f2811dcbaab1d6c2a2b0d7f 100644 (file)
@@ -8,6 +8,7 @@ m4/pwrite.m4
 Depends-on:
 unistd
 extensions
+largefile
 lseek           [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1]
 write           [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1]
 
index e071e544055a3cd020473da066517ee3e2cb79ab..54b57dfc11d4dc11e9ece73b838e9a06affca3a8 100644 (file)
@@ -8,6 +8,7 @@ m4/scandir.m4
 Depends-on:
 dirent
 extensions
+largefile
 
 configure.ac:
 gl_FUNC_SCANDIR
index 8a349a73ee0ab470b020c74e3247ed9b548b34d9..46434215f90851d01422d415ce0e4f86d149cc58 100644 (file)
@@ -7,6 +7,7 @@ m4/stat.m4
 
 Depends-on:
 sys_stat
+largefile
 dosname         [test $REPLACE_STAT = 1]
 stdbool         [test $REPLACE_STAT = 1]
 verify          [test $REPLACE_STAT = 1]
index d3a97fe89623ff05aefd15195596bf7a6d13c5d7..e98a8ee5aedb1213191b71a0a54b7bbef2503430 100644 (file)
@@ -7,6 +7,7 @@ m4/tmpfile.m4
 
 Depends-on:
 stdio
+largefile
 pathmax         [test $REPLACE_TMPFILE = 1]
 tempname        [test $REPLACE_TMPFILE = 1]
 tmpdir          [test $REPLACE_TMPFILE = 1]