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;