From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Buffer size limitation in insdel.c Date: Wed, 22 Sep 2010 20:58:59 -0400 Message-ID: References: <834odivv7v.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: dough.gmane.org 1285203554 20972 80.91.229.12 (23 Sep 2010 00:59:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 00:59:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 23 02:59:13 2010 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.69) (envelope-from ) id 1Oya9X-00068K-KI for ged-emacs-devel@m.gmane.org; Thu, 23 Sep 2010 02:59:11 +0200 Original-Received: from localhost ([127.0.0.1]:40333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oya9X-00028z-0c for ged-emacs-devel@m.gmane.org; Wed, 22 Sep 2010 20:59:11 -0400 Original-Received: from [140.186.70.92] (port=58023 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oya9N-00027q-7a for emacs-devel@gnu.org; Wed, 22 Sep 2010 20:59:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oya9M-0005eX-6e for emacs-devel@gnu.org; Wed, 22 Sep 2010 20:59:01 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:41079) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oya9M-0005eR-1a for emacs-devel@gnu.org; Wed, 22 Sep 2010 20:59:00 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oya9L-000630-NE; Wed, 22 Sep 2010 20:58:59 -0400 In-reply-to: <834odivv7v.fsf@gnu.org> (message from Eli Zaretskii on Wed, 22 Sep 2010 14:06:12 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:130648 Archived-At: { EMACS_INT total_size = Z_BYTE - BEG_BYTE + GAP_SIZE + nbytes_added; if (total_size < 0 /* Don't allow a buffer size that won't fit in a Lisp integer. */ || total_size != XINT (make_number (total_size)) /* Don't allow a buffer size that won't fit in an int even if it will fit in a Lisp integer. That won't work because so many places still use `int'. */ || total_size != (EMACS_INT) (int) total_size) error ("Buffer exceeds maximum size"); "bzr annotate" says this was committed a year ago by Stefan. Any objections to removing this limitation on 64-bit machines? Is there a reason to believe it is not necessary any more?