tech-x11 archive

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

Re: Lua shared object asymmetry loading Xlib.



On Sun, Jan 20, 2019 at 10:06:33AM +0100, Marc Balmer wrote:
> Why are atexit handlers run after dlclosing loaded libraries?  That sounds wrong to me, but is there a reason?

They are run at exit(1) time, the application (or in this case library)
is responsible of removing them if it dlclose()s the library implementing
them earlier.

However, this was a bug in the X libs and it has been fixed (AFAIR).

Martin


Home | Main Index | Thread Index | Old Index