bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eli Zaretskii
Subject: bug#2790: emacs 22.1.1 cannot open 5GB file on 64GB 64-bit GNU/Linux box
Date: Sat, 28 Mar 2009 15:03:43 +0300

> From: Andreas Schwab <address@hidden>
> Cc: address@hidden,  Stefan Monnier <address@hidden>,  address@hidden
> Date: Sat, 28 Mar 2009 12:12:04 +0100
> 
> Eli Zaretskii <address@hidden> 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.

Then that's another bug waiting to happen, isn't it?  Buffer positions
should be limited by EMACS_INT, not by int, right?







reply via email to

[Prev in Thread] Current Thread [Next in Thread]