NOTE: This patch has been committed.
src/ChangeLog addition:
2005-11-22 Ben Wing <ben(a)xemacs.org>
* mule-coding.c (FROB):
Fix crashes printing ISO2022 coding systems.
build source patch:
Diff command: bash -ci "cvs-diff --show-c-function -no-changelog "
Files affected: src/mule-coding.c
Index: src/mule-coding.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/mule-coding.c,v
retrieving revision 1.35
diff -u -p -r1.35 mule-coding.c
--- src/mule-coding.c 2005/06/19 21:08:31 1.35
+++ src/mule-coding.c 2005/11/22 07:18:29
@@ -2643,10 +2643,10 @@ iso2022_print (Lisp_Object cs, Lisp_Obje
write_c_string (printcharfun, "(force)");
}
-#define FROB(prop) \
- if (!NILP (iso2022_getprop (cs, prop))) \
- { \
- write_fmt_string (printcharfun, ", %s", prop); \
+#define FROB(prop) \
+ if (!NILP (iso2022_getprop (cs, prop))) \
+ { \
+ write_fmt_string_lisp (printcharfun, ", %s", 1, prop); \
}
FROB (Qshort);
Show replies by date