From fff18b4e76d3757a78e5583010bbce3772461f4d Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 8 Feb 2001 03:06:43 +0000 Subject: 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. --- misc/ChangeLog | 5 +++++ misc/chattr.c | 3 +++ misc/lsattr.c | 3 +++ 3 files changed, 11 insertions(+) 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 + + * 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 * 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 #include #include 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 #include #ifdef HAVE_ERRNO_H -- cgit v1.2.3