Subject: bug#2790: emacs 22.1.1 cannot open 5GB file on
64GB 64-bit GNU/Linux box



Eli Zaretskii <eliz@xxxxxxx> writes:

> Personally, I would change INT_MAX/4 to LONG_MAX/4,

This is wrong, see also make_gap_larger. The range for buffer positions
is still limited by the range of int.

Andreas.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."






Privacy