>>>> "Marco" == Marco Walther
<marcow(a)jena.eng.sun.com> writes:
Marco> What changed between 21.4.0 & 21.4.1?
Almost nothing; the release announce actually was complete. Aside
from the following, it's possible I messed up the tarballs if that's
what you're using, but check these first.
I forgot to update ./configure for 21.4.0, so I regenerated. Try
rm ./configure
cvs update -r r21-4-0 configure
Reconfigure and rebuild. If you are using the tarballs, here's the
(forward) patch to configure.in (use patch -R to apply, run autoconf,
reconfigure and build):
Index: configure.in
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/configure.in,v
retrieving revision 1.111.2.152
retrieving revision 1.151
diff -u -r1.111.2.152 -r1.151
--- configure.in 2001/03/19 17:29:11 1.111.2.152
+++ configure.in 2001/04/12 18:20:41 1.151
@@ -2753,7 +2755,9 @@
cd ..
rm -fr conftestdir
for word in $xmkmf_defines; do
- case "$word" in -D* )
+ case "$word" in
+ -D__STDC__*) ;;
+ -D* )
sym=`echo '' $word | sed -e 's:^ *-D::' -e 's:=.*::'`
case "$word" in
-D*=* ) val=`echo '' $word | sed -e 's:^.*=::'` ;;
The other changes in the code are to lisp/x-compose.el and to
src/input-method-motif.c; I don't see how they could be involved but
you could try reverting them to 21.4.0 using the -r r21-4-0 tag. Or
here are the (forward) patches:
Index: lisp/x-compose.el
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lisp/x-compose.el,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -r1.3 -r1.3.2.1
--- lisp/x-compose.el 2001/04/12 18:21:39 1.3
+++ lisp/x-compose.el 2001/04/19 07:31:11 1.3.2.1
@@ -521,7 +521,12 @@
(eq 1 (length value))
(null (lookup-key keymap value)))
(define-key keymap value value))))
- keymap))
+ keymap
+ ;; #### It is currently not safe to add definitions to a keymap in
+ ;; map-keymap, due to a bug in map-keymap (dangling pointer to freed
+ ;; memory on a rehash). So we sort, which has the side effect of
+ ;; mapping over a copy of the original hash-table.
+ t))
(xlib-input-method-bug-workaround compose-map)
(unintern 'xlib-input-method-bug-workaround)
@@ -534,7 +539,12 @@
(alias-colon-to-doublequote value))
(when (eq key '\")
(define-key keymap ":" value)))
- keymap))
+ keymap
+ ;; #### It is currently not safe to add definitions to a keymap in
+ ;; map-keymap, due to a bug in map-keymap (dangling pointer to freed
+ ;; memory on a rehash). So we sort, which has the side effect of
+ ;; mapping over a copy of the original hash-table.
+ t))
(alias-colon-to-doublequote compose-map)
(unintern 'alias-colon-to-doublequote)
@@ -696,7 +706,7 @@
;; (define-key binding [(control h)] 'compose-help)
;; (define-key binding [help] 'compose-help)
))
- compose-map nil)
+ compose-map)
;; Make redisplay display the accented letters
(if (memq (default-value 'ctl-arrow) '(t nil))
Index: src/input-method-motif.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/src/input-method-motif.c,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -r1.11 -r1.11.2.1
--- src/input-method-motif.c 2001/04/12 18:23:56 1.11
+++ src/input-method-motif.c 2001/04/19 07:31:26 1.11.2.1
@@ -94,6 +94,13 @@
/* Nothing to do */
}
+/* Callback for the deleting frame. */
+static void
+XIM_delete_frame (Widget w, XtPointer client_data, XtPointer call_data)
+{
+ XmImUnregister ((Widget) client_data);
+}
+
void
XIM_init_frame (struct frame *f)
{
@@ -152,6 +159,8 @@
NULL);
XmFontListEntryFree (&fontlistEntry);
+
+ XtAddCallback (w, XmNdestroyCallback, XIM_delete_frame, (XtPointer) w);
}
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."