From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.help Subject: Re: maximum buffer size exceeded Date: Wed, 05 Sep 2007 12:08:06 -0400 Message-ID: References: <87ejhgdux0.fsf@lion.rapttech.com.au> <87veaqr5l2.fsf@kobe.laptop> <873axt1e6d.fsf@kfs-lx.testafd.dk> <46DEC7D0.1030709@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189008514 24703 80.91.229.12 (5 Sep 2007 16:08:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Sep 2007 16:08:34 +0000 (UTC) Cc: Eli Zaretskii , "Kim F. Storm" , help-gnu-emacs@gnu.org, emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 05 18:08:31 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 1ISxQV-00043h-Ol for ged-emacs-devel@m.gmane.org; Wed, 05 Sep 2007 18:08:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISxQT-0008Mf-U8 for ged-emacs-devel@m.gmane.org; Wed, 05 Sep 2007 12:08:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISxQP-0008IX-VD for emacs-devel@gnu.org; Wed, 05 Sep 2007 12:08:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISxQO-0008EA-FB for emacs-devel@gnu.org; Wed, 05 Sep 2007 12:08:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISxQO-0008Dj-93; Wed, 05 Sep 2007 12:08:16 -0400 Original-Received: from bc.sympatico.ca ([209.226.175.184] helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ISxQG-0005Gf-2R; Wed, 05 Sep 2007 12:08:08 -0400 Original-Received: from pastel.home ([70.53.192.250]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070905160806.BIIW18413.tomts22-srv.bellnexxia.net@pastel.home>; Wed, 5 Sep 2007 12:08:06 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id ACA8D83C2; Wed, 5 Sep 2007 12:08:06 -0400 (EDT) In-Reply-To: <46DEC7D0.1030709@gnu.org> (Jason Rumney's message of "Wed\, 05 Sep 2007 16\:14\:24 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Solaris 8 (1) 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:77870 gmane.emacs.help:47243 Archived-At: >> 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