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

From: Stefan Monnier <[email-masked]>
Date: Sun, 29 Mar 2009 16:13:35 -0400

>> 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.

Every place where that is the case is a bug (and yes, there are many
still).  We should remove the check in make_gap_larger, BTW.

        Stefan