Jan,
This also appears to solve my problem with bigloo/vm interaction.
Will start using the patch and see how it goes.
Thanks a bunch, really appreciate it!!!
Albert
Jan Vroonhof writes:
From: Jan Vroonhof <jan.vroonhof(a)ntlworld.com>
To: xemacs-beta(a)xemacs.org
Subject: Prelimary fix for display-time/text-glyph crash
Date: 01 Apr 2001 00:10:27 +0200
For all those seeing the gnuclient+display-time on tty or any
other crach with crashes in compact_string_chars, please try
out this patch..
Index: redisplay.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/src/redisplay.c,v
retrieving revision 1.55.2.69
diff -u -u -r1.55.2.69 redisplay.c
--- redisplay.c 2001/03/09 04:13:25 1.55.2.69
+++ redisplay.c 2001/03/31 23:07:26
@@ -972,6 +972,8 @@
for (pos = c_string; pos < end;)
{
+ Bufbyte *old_pos = pos;
+
data->ch = charptr_emchar (pos);
prop = add_emchar_rune (data);
@@ -997,6 +999,9 @@
}
INC_CHARPTR (pos);
assert (pos <= end);
+ /* Duplicate code from add_string_to_fstring_db_runes
+ should be do more?*/
+ data->bytepos += pos - old_pos;
}
return NULL;