Oleg Drokin wrote:
>
> Hello!
>
> > HEre is trivial patch to avoid segfault to user/plugins/bochs/gui/x.cc:
> >
> > bx_panic("%s: cannot connect to X server %s\n",
> > progname, XDisplayName(display_name));
> > + exit(1);
> Thought about it a little more, is it worth it to make all init metods to return
> meaningful value, so we can check them in plugin_init, and
> return error if something goes wrong?
We need to make a plugin_abort() function in plugin.c
that handles all aborts from plugins cleanly.
-- Ramon