At Sun, 21 Dec 2025 13:33:40 +0000, Sad Clouds <cryintothebluesky%gmail.com@localhost> wrote: Subject: Re: 11.0_BETA: glxinfo crashes with Segmentation fault > > I think the standard is very clear: > > "... to be called without arguments from exit(), or after return from > the initial call to main(), or on the last thread termination." > > The fact that the standard does not cover all the other use cases that > some people may wish to implement is beside the point. The common > wisdom is that atexit() was never designed for cleanup handlers that > may later point to dlclose()ed shared libraries. Hear hear! I concur completely. > There is no RAII is C and atexit() is not meant to > be used as such. indeed. -- Greg A. Woods <gwoods%acm.org@localhost> Kelowna, BC +1 250 762-7675 RoboHack <woods%robohack.ca@localhost> Planix, Inc. <woods%planix.com@localhost> Avoncote Farms <woods%avoncote.ca@localhost>
Attachment:
pgp_XNNyh5KKi.pgp
Description: OpenPGP Digital Signature