Subject: CVS commit: [nathanw_sa] basesrc/lib/libc/gen
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 12/30/2001 04:37:10
Module Name:	basesrc
Committed By:	nathanw
Date:		Sun Dec 30 02:37:10 UTC 2001

Modified Files:
	basesrc/lib/libc/gen [nathanw_sa]: _errno.c

Log Message:
Instead of doing the thread-specific-date and once-initializer song
and dance here, just call the new thr_errno() when in threaded mode.

This avoids an ugly interdependancy between malloc(), which wants to
set errno (during initialization and errors), and errno, which used to
want to malloc() the thread-specific storage.


To generate a diff of this commit:
cvs rdiff -r1.9.2.1 -r1.9.2.2 basesrc/lib/libc/gen/_errno.c

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