Subject: CVS commit: gnusrc/gnu/dist/libio
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 12/24/2001 18:38:20
Module Name:	gnusrc
Committed By:	mycroft
Date:		Mon Dec 24 16:38:20 UTC 2001

Modified Files:
	gnusrc/gnu/dist/libio: cleanup.c

Log Message:
Disable the atexit(_IO_cleanup) for two good reasons:
1) There is already a destructor that does this.  The atexit() is superfluous.
2) If libstdc++ is loaded dynamically by dlopen() and then is removed by
   dlclose(), the pointer is no longer valid and the program would core dump
   at exit() time.  (This caused xmms to core dump at exit when xmms-sid was
   installed, for example.)
NOTE: THIS NEEDS TO BE APPLIED TO THE `TOOLCHAIN' VERSION.


To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 gnusrc/gnu/dist/libio/cleanup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.