oh come on, just look at the source code!
Index: ChangeLog
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lwlib/ChangeLog,v
retrieving revision 1.1.2.85
diff -u -r1.1.2.85 ChangeLog
--- ChangeLog 2000/05/30 01:15:40 1.1.2.85
+++ ChangeLog 2000/06/11 04:12:43
@@ -1,3 +1,8 @@
+2000-06-10 Ben Wing <ben(a)xemacs.org>
+
+ * lwlib-Xaw.c (xaw_create_label): add sanity check on arg limit.
+ (xaw_update_one_value): fix crash due to incorrect arg count.
+
2000-05-28 Martin Buchholz <martin(a)xemacs.org>
* XEmacs 21.2.34 is released.
Index: lwlib-Xaw.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lwlib/lwlib-Xaw.c,v
retrieving revision 1.9.2.13
diff -u -r1.9.2.13 lwlib-Xaw.c
--- lwlib-Xaw.c 2000/04/14 16:15:34 1.9.2.13
+++ lwlib-Xaw.c 2000/06/11 04:12:43
@@ -230,7 +230,7 @@
Arg al [2];
String buf = 0;
XtSetArg (al [0], XtNstring, &buf);
- XtGetValues (widget, al, 2);
+ XtGetValues (widget, al, 1);
if (val->value)
{
@@ -791,6 +791,8 @@
/* Do it again for arguments that have no effect until the widget is
realized. */
ac = 0;
lw_add_value_args_to_args (val, al, &ac);
+ if (ac > 20)
+ abort (); /* #### need assert macro in lwlib */
XtSetValues (label, al, ac);
Andy Piper wrote:
At 08:06 PM 6/9/00 -0400, Olivier Galibert wrote:
>cvs of now, happens both with and without Ben's yet unpublished coding
>patches.
Does it happen without Mule?
Thanks
andy
--------------------------------------------------------------
Dr Andy Piper
Principal Consultant, BEA Systems Ltd
--
Ben
In order to save my hands, I am cutting back on my mail. I also write
as succinctly as possible -- please don't be offended. If you send me
mail, you _will_ get a response, but please be patient, especially for
XEmacs-related mail. If you need an immediate response and it is not
apparent in your message, please say so. Thanks for your understanding.
See also
http://www.666.com/ben/chronic-pain/