bug-xnee
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-xnee] Two question about Xnee


From: firebush
Subject: Re: [Bug-xnee] Two question about Xnee
Date: Wed, 20 May 2009 13:30:21 -0700 (PDT)


> 
> hi
> 
>  and thanks for your report.
> 
> ...
> 
> I would go for glic being nicer when "following" NULL pointers in printf
> calls. Solaris' libc crashes when printing a NULL pointer.

The segfault can be worked around by changing the fprintf for the
xd->plugin_name to (in case it's NULL, as you pointed out Henrik):

1593    fprintf (out,  "%s       %s\n",
1594             xnee_xns_key2string(XNEE_PLUGIN_KEY),
1595             xd->plugin_name ? xd->plugin_name : "<NULL>" );

That in the xnee_print_xnee_settings function in the xnee-3.03/libxnee/src
directory.

When I make that change, do a 'gmake clean; gmake; gmake install' from
xnee-3.03, I don't get the segfault.

-- 
View this message in context: 
http://www.nabble.com/Two-question-about-Xnee-tp21348209p23642909.html
Sent from the Gnu - Xnee - Bugs mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]