emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.50; Crash in ediff-regions-linewise


From: Andreas Schwab
Subject: Re: 23.0.50; Crash in ediff-regions-linewise
Date: Sun, 14 Oct 2007 22:01:18 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> --- 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?

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]