Mercurial > hg > xemacs-beta
diff src/ChangeLog @ 5727:86d33ddc7fd6
Avoid EOVERFLOW from stat() calls due to overflowing inode numbers.
The btrfs filesystem now uses 64-bit inode numbers even on 32-bit systems.
This can lead to spurious stat() failures, where EOVERFLOW is returned because
the inode number does not fit into the 32-bit stat structure, even when the
caller is not interested in the inode number. This patch builds with
_FILE_OFFSET_BITS == 64 when possible, and deals with integers that may be
too large to fit into a Lisp fixnum. For more information, see xemacs-patches
message <CAHCOHQk_mPM6WgFChBsGafqhuazep6VED7swFoqfFXOV1r8org@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Wed, 06 Mar 2013 08:32:17 -0700 |
parents | ede80ef92a74 |
children | f7abcda06b1b |
line wrap: on
line diff
--- a/src/ChangeLog Tue Mar 05 08:55:56 2013 +0100 +++ b/src/ChangeLog Wed Mar 06 08:32:17 2013 -0700 @@ -1,3 +1,13 @@ +2013-03-04 Jerry James <james@xemacs.org> + + * config.h.in: Add placeholders and definitions needed for large + file support. + * dired.c (Ffile_attributes): Some elements of the stat structure + can overflow a fixnum. Allow them to be bignums, if possible. + * dumper.c (pdump_align_stream): Use OFF_T, FTELL, and FSEEK macros + to get large file support. + (pdump): Ditto. + 2013-03-02 Jerry James <james@xemacs.org> * Makefile.in.in: If modules are built into the executable, assume