* thread.cc (__reent_t::init_clib): Set thread local clib

__sdidinit var appropriately.
This commit is contained in:
Thomas Pfaff 2003-11-10 19:44:53 +00:00
parent 1db928422e
commit 73e36316cc
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-11-10 Thomas Pfaff <tpfaff@gmx.net>
* thread.cc (__reent_t::init_clib): Set thread local clib
__sdidinit var appropriately.
2003-11-08 Corinna Vinschen <corinna@vinschen.de>
* syscalls.cc (ftruncate64): Log length as long long.

View File

@ -1878,6 +1878,7 @@ __reent_t::init_clib (struct _reent& var)
var._stdin = _GLOBAL_REENT->_stdin;
var._stdout = _GLOBAL_REENT->_stdout;
var._stderr = _GLOBAL_REENT->_stderr;
var.__sdidinit = _GLOBAL_REENT->__sdidinit;
_clib = &var;
};