From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel,gmane.emacs.help Subject: Re: maximum buffer size exceeded Date: Wed, 05 Sep 2007 16:14:24 +0100 Message-ID: <46DEC7D0.1030709@gnu.org> References: <87ejhgdux0.fsf@lion.rapttech.com.au> <87veaqr5l2.fsf@kobe.laptop> <873axt1e6d.fsf@kfs-lx.testafd.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189005309 12347 80.91.229.12 (5 Sep 2007 15:15:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Sep 2007 15:15:09 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org, help-gnu-emacs@gnu.org, "Kim F. Storm" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 05 17:15:07 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ISwaq-0003vu-AH for ged-emacs-devel@m.gmane.org; Wed, 05 Sep 2007 17:15:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISwao-0004cL-LO for ged-emacs-devel@m.gmane.org; Wed, 05 Sep 2007 11:14:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISwak-0004c4-Dr for emacs-devel@gnu.org; Wed, 05 Sep 2007 11:14:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISwaj-0004bs-BU for emacs-devel@gnu.org; Wed, 05 Sep 2007 11:14:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISwaj-0004bp-8W; Wed, 05 Sep 2007 11:14:53 -0400 Original-Received: from outmail1.freedom2surf.net ([194.106.33.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ISwad-0001HG-IJ; Wed, 05 Sep 2007 11:14:47 -0400 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail1.freedom2surf.net (Postfix) with ESMTP id 40ABD5186D; Wed, 5 Sep 2007 16:14:46 +0100 (BST) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: X-Detected-Kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:77866 gmane.emacs.help:47240 Archived-At: Stefan Monnier wrote: > 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.