On Sat, 25 May 2002, Christoph Egger wrote:

>
> Hi!
>
>
> Tobias Hunger uses glibc 2.2.5. He noticed, that there is no
> longer an atexit() function, which is used by libgg.
>
> Replacing atexit() by on_exit() fixes the problem for him.
>
> Before we commit his patch, does anyone know, if on_exit() makes
> atexit() obselete in (g)libc at all?

Usually, I don't reply myself, but just to keep you up-to-date:


Talking with the BSD guys via IRC, we figured out, that this is a bug in
glibc.

It exists in i386-glibc, while it doesn't for arm-glibc.

BSD has no on_exit() function in their libc, but they are able to use
glibc as well.

The BSD folk recommends us to stay at using atexit(), because it conforms
to BSD 4.3 and ISO 9899, while on_exit() is very likely a GNU extension.

Further, we should not use broken versions of glibc.



CU,

Christoph Egger
E-Mail: [EMAIL PROTECTED]

Reply via email to