]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
ChangeLog, chattr.c, lsattr.c:
authorTheodore Ts'o <tytso@mit.edu>
Thu, 8 Feb 2001 03:06:43 +0000 (03:06 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 8 Feb 2001 03:06:43 +0000 (03:06 +0000)
  chattr.c, lsattr.c: Define the _LARGEFILE64_SOURCE to force the use of
  the LFS so that lstat will work on large files.

misc/ChangeLog
misc/chattr.c
misc/lsattr.c

index 10e5e9d918722ecb489425c8a61b4b46f8e2537d..1d02bf573151b702f1f4be8916b132d4b0dfe7d3 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-07  Theodore Tso  <tytso@valinux.com>
+
+       * chattr.c, lsattr.c: Define the _LARGEFILE64_SOURCE to force the
+               use of the LFS so that lstat will work on large files.
+
 2001-01-17  Theodore Ts'o  <tytso@valinux.com>
 
        * tune2fs.c, mke2fs.c, tune2fs.8.in, mke2fs.8.in: Change user
index f0301e67e4423efb440d0d60f21558fadf18629f..d5449f35de619aa43aff6e892d926a6cae6d469a 100644 (file)
@@ -18,6 +18,9 @@
  * 98/12/29    - Display version info only when -V specified (G M Sipe)
  */
 
+#define _LARGEFILE64_SOURCE
+#define _FILE_OFFSET_BITS 64
+
 #include <sys/types.h>
 #include <dirent.h>
 #include <fcntl.h>
index 857c48185817f7ea623e69ec5ce36479a9761445..3fadeb2b6c4796e9f93e8a1a4c8b79e8dd520d8d 100644 (file)
@@ -17,6 +17,9 @@
  * 98/12/29    - Display version info only when -V specified (G M Sipe)
  */
 
+#define _LARGEFILE64_SOURCE
+#define _FILE_OFFSET_BITS 64
+
 #include <sys/types.h>
 #include <dirent.h>
 #ifdef HAVE_ERRNO_H