unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* window.c initialization fix
@ 2002-04-21 20:38 Keiichiro Nagano
  2002-04-22  9:01 ` Pavel Janík
  0 siblings, 1 reply; 6+ messages in thread
From: Keiichiro Nagano @ 2002-04-21 20:38 UTC (permalink / raw)


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;

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-04-26  3:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-21 20:38 window.c initialization fix Keiichiro Nagano
2002-04-22  9:01 ` Pavel Janík
2002-04-22 10:19   ` portable dumper (Re: window.c initialization fix) Keiichiro Nagano
2002-04-23 19:31     ` Richard Stallman
2002-04-25  2:58       ` Keiichiro Nagano
2002-04-26  3:19         ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).