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


Message #185 received at 2790 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 2790 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>,
        tutufan <at> gmail.com
Subject: Re: bug#2790: emacs 22.1.1 cannot open 5GB file on 64GB 64-bit	GNU/Linux box
Date: Mon, 30 Mar 2009 15:22:17 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> We could prevent optimization by going through a volatile var,
> of course.

That would mean it would still depend on an undefined operation.  The
right way to check for overflow is to check against the limit
beforehand.

Andreas.

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




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

Previous Next


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