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

> There was an incorrect check that limited the size to INT_MAX/4
> (i.e. 512MB for systems where ints are 32bit). I've removed this check
> in the CVS code (see patch below). I am now able to open an 800MB file
> with this check removed.

> After you visit such a file, what does (point-max) return?

It returns the correct value.

> Perhaps you're talking only about 64-bit systems?

Yes, all this discussion is in this context. For 32bit systems, the
256MB limit kicks in long before we hit any of those problems.