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: Andreas Schwab
Subject: bug#2790: emacs 22.1.1 cannot open 5GB file on 64GB 64-bit GNU/Linux box
Date: Sun, 29 Mar 2009 22:44:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> In that case I'd rather do the check more directly, e.g.:
>
>     (((EMACS_INT)st.st_size)*4)/4 == st.st_size

That will reintroduce the buggy reliance on undefined integer overflow.

Andreas.

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






reply via email to

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