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.pretest.bugs Subject: Re: 23.0.50; Crash in ediff-regions-linewise Date: Tue, 16 Oct 2007 11:43:31 -0400 Message-ID: References: <87wstq5cr6.fsf@candyboy.here> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192549439 9573 80.91.229.12 (16 Oct 2007 15:43:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2007 15:43:59 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Toby Allsopp , rms@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 16 17:43:58 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 1IhoaL-0006u5-3v for ged-emacs-devel@m.gmane.org; Tue, 16 Oct 2007 17:43:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhoaE-0004tJ-49 for ged-emacs-devel@m.gmane.org; Tue, 16 Oct 2007 11:43:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhoaB-0004rJ-5D for emacs-devel@gnu.org; Tue, 16 Oct 2007 11:43:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ihoa9-0004pE-MU for emacs-devel@gnu.org; Tue, 16 Oct 2007 11:43:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ihoa9-0004pB-I9 for emacs-devel@gnu.org; Tue, 16 Oct 2007 11:43:45 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ihoa9-0000Yh-9s for emacs-devel@gnu.org; Tue, 16 Oct 2007 11:43:45 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ihoa8-0006Nz-Vs for emacs-pretest-bug@gnu.org; Tue, 16 Oct 2007 11:43:45 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ihoa6-0000YD-LH for emacs-pretest-bug@gnu.org; Tue, 16 Oct 2007 11:43:44 -0400 Original-Received: from x-132-204-255-77.xtpr.umontreal.ca ([132.204.255.77] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ihoa2-0000VT-7D; Tue, 16 Oct 2007 11:43:42 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 860BAB41C1; Tue, 16 Oct 2007 11:43:31 -0400 (EDT) In-Reply-To: (Andreas Schwab's message of "Sun\, 14 Oct 2007 22\:01\:18 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:81011 gmane.emacs.pretest.bugs:20143 Archived-At: >> --- buffer.c 10 oct 2007 11:29:34 -0400 1.535 >> +++ buffer.c 14 oct 2007 15:03:35 -0400 >> @@ -568,6 +568,7 @@ >> >> b = (struct buffer *) allocate_buffer (); b-> size = sizeof (struct buffer) / sizeof (EMACS_INT); >> + XSETPVECTYPE (b, PVEC_BUFFER); > Wouldn't it be better to move the last two lines into allocate_buffer? Done, Stefan