none of the patches fixes it for me, it still crashes at startup :(
do you want also my backtrace?
On Mon, Aug 30, 1999 at 10:09:16AM +0100, Andy Piper wrote:
Oh dear. This is my fault.
At 04:54 PM 8/30/99 +0900, SL Baur wrote:
>From current cvs and a clean build. Any clues?
Try this:
--- lwlib.c~ Sun Aug 29 17:08:34 1999
+++ lwlib.c Mon Aug 30 10:01:28 1999
@@ -153,11 +153,12 @@
free_widget_value_tree (wv->contents);
wv->contents = (widget_value *) 0xDEADBEEF;
}
- if (wv->args && wv->free_args)
+ if (wv->args && wv->nargs && wv->free_args)
{
free (wv->args);
wv->args = (void *) 0xDEADBEEF;
wv->nargs = 0;
+ wv->free_args = 0;
}
if (wv->next)
{
If this doesn't work try this:
--- lwlib-Xaw.c~ Sun Aug 29 17:10:59 1999
+++ lwlib-Xaw.c Mon Aug 30 10:04:04 1999
@@ -126,9 +126,10 @@
xaw_update_one_widget (widget_instance *instance, Widget widget,
widget_value *val, Boolean deep_p)
{
+#if 0
if (val->nargs)
XtSetValues (widget, val->args, val->nargs);
-
+#endif
if (0)
;
#ifdef LWLIB_SCROLLBARS_ATHENA
Let me know what happens. The first is a good fix the second is a
workaround which will stop the color fixes for the tab widget working.
andy
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd
--
# Stef Epardaud, # There is no limit to the power of computing ...
# Java Defeater # ... except men maybe ?
# Earth # Lunatech Research,
# Solar System # soon we will quit researching and start finding...