[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: maximum buffer size exceeded
From: |
Stefan Monnier |
Subject: |
Re: maximum buffer size exceeded |
Date: |
Wed, 05 Sep 2007 12:08:06 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
>> PS: You can supposedly open >4GB files in Emacs with 64bit systems, but
>> looking at the C code, it's clear that you'll bump into bugs where we cast
>> EMACS_INT values to and from `int' (which on many 64bit systems are only
>> 32bit). I tend to fix those bugs when I bump into them, but they're
>> everywhere and I've fixed only a tiny fraction of them.
>>
> long is also 32 bits on 64bit versions of Windows, so avoid simply
> replacing int with long.
Of course, it should be replaced with EMACS_INT or EMACS_UINT.
Stefan