Subject: CVS commit: [netbsd-4] src/lib/libc/stdlib
To: None <source-changes@NetBSD.org>
From: Liam J. Foy <liamjfoy@netbsd.org>
List: source-changes
Date: 08/28/2007 11:26:12
Module Name:	src
Committed By:	liamjfoy
Date:		Tue Aug 28 11:26:12 UTC 2007

Modified Files:
	src/lib/libc/stdlib [netbsd-4]: atexit.c

Log Message:
Pull up following revision(s) (requested by kristerw in ticket #839):
	lib/libc/stdlib/atexit.c: revision 1.18
	lib/libc/stdlib/atexit.c: revision 1.19
Ensure that the struct atexit_handler has been removed from the list
of pending atexit handlers before the structure is reused.  This prevents
__cxa_finalize from going into an infinite loop when an atexit handler
register a new atexit handler.

Keep track of atexit functions that are added while processing
atexit functions, to ensure that the new functions will be called.


To generate a diff of this commit:
cvs rdiff -r1.17 -r1.17.4.1 src/lib/libc/stdlib/atexit.c

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