diff options
author | Theodore Ts'o <tytso@mit.edu> | 2001-02-08 03:06:43 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2001-02-08 03:06:43 +0000 |
commit | fff18b4e76d3757a78e5583010bbce3772461f4d (patch) | |
tree | 4466c718257fc71b44856c6e08f5df0f0364515d | |
parent | 6b7e807e0a69462b4757facdd8a0b2ce364da679 (diff) | |
download | e2fsprogs-fff18b4e76d3757a78e5583010bbce3772461f4d.tar.gz |
ChangeLog, chattr.c, lsattr.c:
chattr.c, lsattr.c: Define the _LARGEFILE64_SOURCE to force the use of
the LFS so that lstat will work on large files.
-rw-r--r-- | misc/ChangeLog | 5 | ||||
-rw-r--r-- | misc/chattr.c | 3 | ||||
-rw-r--r-- | misc/lsattr.c | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/misc/ChangeLog b/misc/ChangeLog index 10e5e9d9..1d02bf57 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -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 diff --git a/misc/chattr.c b/misc/chattr.c index f0301e67..d5449f35 100644 --- a/misc/chattr.c +++ b/misc/chattr.c @@ -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> diff --git a/misc/lsattr.c b/misc/lsattr.c index 857c4818..3fadeb2b 100644 --- a/misc/lsattr.c +++ b/misc/lsattr.c @@ -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 |