[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: buffer.c 1.407 badness
From: |
Richard Stallman |
Subject: |
Re: buffer.c 1.407 badness |
Date: |
Mon, 09 Dec 2002 15:22:24 -0500 |
Does the patch below fix it? It fixes an obvious error.
If it still fails, please examine the data in these frames:
#5 0x0811c278 in mark_buffer (buf=0) at alloc.c:4816
#6 0x0811c334 in mark_buffer (buf=0) at alloc.c:4876
*** buffer.c.~1.407.~ Tue Dec 3 10:40:31 2002
--- buffer.c Sun Dec 8 22:55:47 2002
***************
*** 411,416 ****
--- 411,420 ----
reset_buffer (b);
reset_buffer_local_variables (b, 1);
+ b->mark = Fmake_marker ();
+ BUF_MARKERS (b) = Qnil;
+ b->name = name;
+
/* Put this in the alist of all live buffers. */
XSETBUFFER (buf, b);
Vbuffer_alist = nconc2 (Vbuffer_alist, Fcons (Fcons (name, buf), Qnil));
***************
*** 421,429 ****
/* buff is on buffer-alist, so no gcpro */
call1 (Qucs_set_table_for_input, buf);
- b->mark = Fmake_marker ();
- BUF_MARKERS (b) = Qnil;
- b->name = name;
return buf;
}
--- 425,430 ----