Subject: CVS commit: [netbsd-1-6] gnusrc/gnu/dist/toolchain/libio
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 07/18/2002 11:36:40
Module Name:	gnusrc
Committed By:	lukem
Date:		Thu Jul 18 08:36:40 UTC 2002

Modified Files:
	gnusrc/gnu/dist/toolchain/libio [netbsd-1-6]: cleanup.c

Log Message:
Pull up revision 1.2 (requested by mycroft in ticket #515):
Whack the atexit(_IO_cleanup), as per ../../libio/cleanup.c 1.2, for the same
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.)


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

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