[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] largefile: add dependencies to this module
From: |
Bruno Haible |
Subject: |
Re: [PATCH] largefile: add dependencies to this module |
Date: |
Tue, 26 Jul 2011 03:25:02 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
Hi Paul,
> 2) Modules which do not yet exist.
Here are the proposed new modules.
New module Used by
creat fcntl-safer
fgetpos -
fsetpos -
fstat acl, chdir-safer, chown, copy-file, fchdir,
fdopendir, fopen, ftruncate, fts, getcwd,
getloadavg, isapipe, linkat, lseek,
mkdir-p, open, openat, read-file,
[relocatable-prog,
relocatable-prog-wrapper,]
renameat, utimens
opendir backupfile, dirent-safer, fchdir, fdopendir,
fts, getcwd, glob, mountlist, savedir,
scandir
readdir backupfile, getcwd, glob, mountlist, savedir
rewinddir getcwd
seekdir -
telldir -
--- doc/posix-functions/creat.texi.orig Tue Jul 26 03:13:23 2011
+++ doc/posix-functions/creat.texi Tue Jul 26 03:03:10 2011
@@ -4,10 +4,13 @@
POSIX specification:@*
@url{http://www.opengroup.org/onlinepubs/9699919799/functions/creat.html}
-Gnulib module: ---
+Gnulib module: creat
Portability problems fixed by Gnulib:
@itemize
address@hidden
+On platforms where @code{off_t} is a 32-bit type, @code{creat} may not work
+correctly to create files larger than 2 GB. (Cf. @code{AC_SYS_LARGEFILE}.)
@end itemize
Portability problems not fixed by Gnulib:
@@ -16,8 +19,4 @@
On Windows, this function returns a file handle in @code{O_TEXT} mode. If you
need a file handle in @code{O_BINARY} mode, you need to use the function
@code{open} instead.
address@hidden
-On platforms where @code{off_t} is a 32-bit type, @code{creat} may not work
-correctly to create files larger than 2 GB. The fix is to use the
address@hidden macro.
@end itemize
--- doc/posix-functions/fgetpos.texi.orig Tue Jul 26 03:13:23 2011
+++ doc/posix-functions/fgetpos.texi Tue Jul 26 03:03:05 2011
@@ -4,10 +4,13 @@
POSIX specification:@*
@url{http://www.opengroup.org/onlinepubs/9699919799/functions/fgetpos.html}
-Gnulib module: ---
+Gnulib module: fgetpos
Portability problems fixed by Gnulib:
@itemize
address@hidden
+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}.)
@end itemize
Portability problems not fixed by Gnulib:
@@ -17,10 +20,6 @@
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 32-bit type, this function may not
-work correctly on files larger than 2 GB. The fix is to use the
address@hidden macro.
address@hidden
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.
--- doc/posix-functions/fsetpos.texi.orig Tue Jul 26 03:13:23 2011
+++ doc/posix-functions/fsetpos.texi Tue Jul 26 03:02:53 2011
@@ -4,16 +4,15 @@
POSIX specification:@*
@url{http://www.opengroup.org/onlinepubs/9699919799/functions/fsetpos.html}
-Gnulib module: ---
+Gnulib module: fsetpos
Portability problems fixed by Gnulib:
@itemize
address@hidden
+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}.)
@end itemize
Portability problems not fixed by Gnulib:
@itemize
address@hidden
-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
address@hidden macro.
@end itemize
--- doc/posix-functions/fstat.texi.orig Tue Jul 26 03:13:23 2011
+++ doc/posix-functions/fstat.texi Tue Jul 26 03:02:47 2011
@@ -4,19 +4,19 @@
POSIX specification:@*
@url{http://www.opengroup.org/onlinepubs/9699919799/functions/fstat.html}
-Gnulib module: ---
+Gnulib module: fstat
Portability problems fixed by Gnulib:
@itemize
address@hidden
+On platforms where @code{off_t} is a 32-bit type, @code{fstat} may not
correctly
+report the size of files or block devices 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{fstat} 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.
address@hidden
On Cygwin, @code{fstat} applied to the file descriptors 0 and 1, returns
different @code{st_ino} values, even if standard input and standard output
are not redirected and refer to the same terminal.
--- doc/posix-functions/opendir.texi.orig Tue Jul 26 03:13:23 2011
+++ doc/posix-functions/opendir.texi Tue Jul 26 03:02:35 2011
@@ -4,17 +4,17 @@
POSIX specification:@*
@url{http://www.opengroup.org/onlinepubs/9699919799/functions/opendir.html}
-Gnulib module: ---
+Gnulib module: opendir
Portability problems fixed by Gnulib:
@itemize
address@hidden itemize
-
-Portability problems not fixed by Gnulib:
address@hidden
@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.
+incorrectly. (Cf. @code{AC_SYS_LARGEFILE}.)
address@hidden itemize
+
+Portability problems not fixed by Gnulib:
address@hidden
@end itemize
--- doc/posix-functions/readdir.texi.orig Tue Jul 26 03:13:23 2011
+++ doc/posix-functions/readdir.texi Tue Jul 26 03:02:30 2011
@@ -4,17 +4,17 @@
POSIX specification:@*
@url{http://www.opengroup.org/onlinepubs/9699919799/functions/readdir.html}
-Gnulib module: ---
+Gnulib module: readdir
Portability problems fixed by Gnulib:
@itemize
address@hidden itemize
-
-Portability problems not fixed by Gnulib:
address@hidden
@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.
+incorrectly. (Cf. @code{AC_SYS_LARGEFILE}.)
address@hidden itemize
+
+Portability problems not fixed by Gnulib:
address@hidden
@end itemize
--- doc/posix-functions/rewinddir.texi.orig Tue Jul 26 03:13:23 2011
+++ doc/posix-functions/rewinddir.texi Tue Jul 26 03:02:11 2011
@@ -4,16 +4,16 @@
POSIX specification:@*
@url{http://www.opengroup.org/onlinepubs/9699919799/functions/rewinddir.html}
-Gnulib module: ---
+Gnulib module: rewinddir
Portability problems fixed by Gnulib:
@itemize
address@hidden
+On MacOS X platforms where @code{long int} 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
address@hidden
-On platforms where @code{long int} 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 (only on MacOS X systems).
@end itemize
--- doc/posix-functions/seekdir.texi.orig Tue Jul 26 03:13:23 2011
+++ doc/posix-functions/seekdir.texi Tue Jul 26 03:01:46 2011
@@ -4,10 +4,14 @@
POSIX specification:@*
@url{http://www.opengroup.org/onlinepubs/9699919799/functions/seekdir.html}
-Gnulib module: ---
+Gnulib module: seekdir
Portability problems fixed by Gnulib:
@itemize
address@hidden
+On MacOS X platforms where @code{long int} 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:
@@ -15,8 +19,4 @@
@item
This function is missing on some platforms:
BeOS.
address@hidden
-On platforms where @code{long int} 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 (only on MacOS X systems).
@end itemize
--- doc/posix-functions/telldir.texi.orig Tue Jul 26 03:13:23 2011
+++ doc/posix-functions/telldir.texi Tue Jul 26 03:01:24 2011
@@ -4,10 +4,14 @@
POSIX specification:@*
@url{http://www.opengroup.org/onlinepubs/9699919799/functions/telldir.html}
-Gnulib module: ---
+Gnulib module: telldir
Portability problems fixed by Gnulib:
@itemize
address@hidden
+On MacOS X platforms where @code{long int} 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:
@@ -15,8 +19,4 @@
@item
This function is missing on some platforms:
BeOS.
address@hidden
-On platforms where @code{long int} 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 (only on MacOS X systems).
@end itemize
Changing permissions from . to 100644
--- modules/creat.orig Wed Jul 20 22:02:41 2011
+++ modules/creat Tue Jul 26 03:12:52 2011
@@ -0,0 +1,20 @@
+Description:
+creat() function: create a file.
+
+Files:
+
+Depends-on:
+largefile
+
+configure.ac:
+
+Makefile.am:
+
+Include:
+<sys/stat.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
Changing permissions from . to 100644
--- modules/fgetpos.orig Wed Jul 20 22:02:41 2011
+++ modules/fgetpos Tue Jul 26 03:12:52 2011
@@ -0,0 +1,20 @@
+Description:
+fgetpos() function: return file position of a stream.
+
+Files:
+
+Depends-on:
+largefile
+
+configure.ac:
+
+Makefile.am:
+
+Include:
+<stdio.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
Changing permissions from . to 100644
--- modules/fsetpos.orig Wed Jul 20 22:02:41 2011
+++ modules/fsetpos Tue Jul 26 03:12:52 2011
@@ -0,0 +1,20 @@
+Description:
+fsetpos() function: set file position of a stream.
+
+Files:
+
+Depends-on:
+largefile
+
+configure.ac:
+
+Makefile.am:
+
+Include:
+<stdio.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
Changing permissions from . to 100644
--- modules/fstat.orig Wed Jul 20 22:02:41 2011
+++ modules/fstat Tue Jul 26 03:12:52 2011
@@ -0,0 +1,20 @@
+Description:
+fstat() function: return information about an open file.
+
+Files:
+
+Depends-on:
+largefile
+
+configure.ac:
+
+Makefile.am:
+
+Include:
+<stdio.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
Changing permissions from . to 100644
--- modules/opendir.orig Wed Jul 20 22:02:41 2011
+++ modules/opendir Tue Jul 26 03:12:52 2011
@@ -0,0 +1,20 @@
+Description:
+opendir() function: open a directory for reading.
+
+Files:
+
+Depends-on:
+largefile
+
+configure.ac:
+
+Makefile.am:
+
+Include:
+<stdio.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
Changing permissions from . to 100644
--- modules/readdir.orig Wed Jul 20 22:02:41 2011
+++ modules/readdir Tue Jul 26 03:12:52 2011
@@ -0,0 +1,20 @@
+Description:
+readdir() function: read a directory entry.
+
+Files:
+
+Depends-on:
+largefile
+
+configure.ac:
+
+Makefile.am:
+
+Include:
+<stdio.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
Changing permissions from . to 100644
--- modules/rewinddir.orig Wed Jul 20 22:02:41 2011
+++ modules/rewinddir Tue Jul 26 03:12:52 2011
@@ -0,0 +1,20 @@
+Description:
+rewinddir() function: restart reading an open directory.
+
+Files:
+
+Depends-on:
+largefile
+
+configure.ac:
+
+Makefile.am:
+
+Include:
+<stdio.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
Changing permissions from . to 100644
--- modules/seekdir.orig Wed Jul 20 22:02:41 2011
+++ modules/seekdir Tue Jul 26 03:12:52 2011
@@ -0,0 +1,20 @@
+Description:
+seekdir() function: set current position in a directory.
+
+Files:
+
+Depends-on:
+largefile
+
+configure.ac:
+
+Makefile.am:
+
+Include:
+<stdio.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
Changing permissions from . to 100644
--- modules/telldir.orig Wed Jul 20 22:02:41 2011
+++ modules/telldir Tue Jul 26 03:12:52 2011
@@ -0,0 +1,20 @@
+Description:
+telldir() function: return current position in a directory.
+
+Files:
+
+Depends-on:
+largefile
+
+configure.ac:
+
+Makefile.am:
+
+Include:
+<stdio.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible
--
In memoriam André Chénier <http://en.wikipedia.org/wiki/André_Chénier>