Home | History | Annotate | Download | only in gen
History log of /src/lib/libc/gen/_errno.c
RevisionDateAuthorComments
 1.14  20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.13  28-Apr-2008  martin branches: 1.13.8;
Remove clause 3 and 4 from TNF licenses
 1.12  12-Jun-2005  lukem branches: 1.12.18;
Add missing __RCSID()
 1.11  28-May-2003  christos no need to declare __isthreaded.
 1.10  18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.9  10-Dec-2000  christos branches: 1.9.2;
-Wredundant-declarations does not like nested extern declarations.
 1.8  10-Dec-1999  explorer revert this file, the changes I made were quite unnecessary.
 1.7  03-Dec-1999  explorer Put the function prototype back. Grr.
 1.6  03-Dec-1999  explorer Do this a bit differently.

On platforms where we can use weak aliases, use
__weak_alias(__errno, __errno_func);
and on platforms where we cannot, just compile the function as
__errno, since on those platforms we cannot make libc thread-safe,
at least using this trick.

Are there any platforms where we cannot do __weak_alias() anymore?
 1.5  03-Dec-1999  explorer Make __errno() be a weak alias for __errno_func(), so thread packages
can actually override what plain old 'errno' looks like.
 1.4  30-Jul-1997  jtc branches: 1.4.8;
Fix files using old TNF copyright notice
 1.3  13-Jul-1997  christos Move the #undef errno where it is actually needed.
 1.2  08-Nov-1996  jtc Declare global errno
 1.1  07-Nov-1996  jtc New __errno() function, returns the address of the errno variable.
 1.4.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9.2.2  30-Dec-2001  nathanw 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.
 1.9.2.1  08-Aug-2001  nathanw Make errno thread-specific when necessary.
 1.12.18.1  18-May-2008  yamt sync with head.
 1.13.8.2  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.13.8.1  28-Apr-2008  martin file _errno.c was added on branch christos-time_t on 2008-04-28 20:23:00 +0000

RSS XML Feed