Changed handling of atexit functions. They are now called when the program
exits, not when the opencount becomes 0. (This should fix the problems with
YAM on exit).
This change has update the autoinit code in libarosc.a. Code compiled with
a previous version of libarosc.a will behave as before.
Version of library has been increased to 42. Code compiled with the new version
of ilbarosc.a will not run with V41 of arosc.library. (Programs would crash
anyway).
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@31708 fb15a70f-31f2-0310-bbcc-cdcc74a49acc