emacs-devel
[Top][All Lists]
Advanced

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

window.c initialization fix


From: 永野圭一郎
Subject: window.c initialization fix
Date: Mon, 22 Apr 2002 05:38:55 +0900
User-agent: Wanderlust/2.9.9 (Unchained Melody) EMY/1.13.9 (Art is long, life is short) LIMIT/1.14.7 (Fujiidera) APEL/10.3 Emacs/21.2.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

Hi,

In make_window, p->height_fixed_p, p->last_cursor_off_p and
p->cursor_off_p are not initialized to zero.  I think this is a bug.

(Now I'm working for 'portable dumper', a new feature for Emacs.  I
was troubled by this bug, bacause, with portable dumper, all basic
Lisp_Objects (Qnil, Qt, Vobarray and so on) are relocated to unusual
address.)

-- 
Keiichiro Nagano



Index: window.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/window.c,v
retrieving revision 1.412
diff -u -u -r1.412 window.c
--- window.c       17 Apr 2002 10:36:08 -0000   1.412
+++ window.c       21 Apr 2002 20:20:39 -0000
@@ -287,6 +287,8 @@
   XSETWINDOW (val, p);
   XSETFASTINT (p->last_point, 0);
   p->frozen_window_start_p = 0;
+  p->height_fixed_p = 0;
+  p->last_cursor_off_p = p->cursor_off_p = 0;
 
   Vwindow_list = Qnil;
   return val;



reply via email to

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