comparison 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
comparison
equal deleted inserted replaced
5726:179f4a9201b5 5727:86d33ddc7fd6
1 2013-03-04 Jerry James <james@xemacs.org>
2
3 * config.h.in: Add placeholders and definitions needed for large
4 file support.
5 * dired.c (Ffile_attributes): Some elements of the stat structure
6 can overflow a fixnum. Allow them to be bignums, if possible.
7 * dumper.c (pdump_align_stream): Use OFF_T, FTELL, and FSEEK macros
8 to get large file support.
9 (pdump): Ditto.
10
1 2013-03-02 Jerry James <james@xemacs.org> 11 2013-03-02 Jerry James <james@xemacs.org>
2 12
3 * Makefile.in.in: If modules are built into the executable, assume 13 * Makefile.in.in: If modules are built into the executable, assume
4 that module source files are available in the current directory, 14 that module source files are available in the current directory,
5 since configure now creates soft links for them. 15 since configure now creates soft links for them.