Re: [gtk-list] Re: Xlib errors - Can someone decrypt this for me?



In message <199901180810.DAA15663@angband.org>, David Nicklay writes:
>> Havoc> It sure would be nice to have gdk_close_display() for this
>> Havoc> purpose...
>> Or something to FD_CLOEXEC the display connection.
>
>On a related note, having fixed the Xlib errors by closing the
>X connection for the secondary SNMP process, I am getting a
>(seeming harmless) error from gdk in reference to an 'x io error'.
>This error seems to pop up -after- the process has finished all
>of its SNMP queries, but I am not entirely sure if it is coming
>from the process itself exiting or somehow being generated by
>gdk_input_add().  The program continues on like normal and
>gives back the correct results from the router.

You can eliminate it by having the child call _exit instead of returning.
I'm not sure what's going on here, either. Is the child inheriting the
atexit() queue? I wonder.

--
James Bailie

http://www.wwdc.com/~jbailie



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