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

Previous Next

Package: emacs;

Reported by: Mike Coleman <tutufan <at> gmail.com>

Date: Thu, 26 Mar 2009 16:00:03 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 2790 <at> debbugs.gnu.org,
        tutufan <at> gmail.com
Subject: bug#2790: emacs 22.1.1 cannot open 5GB file on 64GB 64-bit	GNU/Linux box
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




This bug report was last modified 13 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.