* thread.cc (__reent_t::init_clib): Set thread local clib
__sdidinit var appropriately.
This commit is contained in:
		| @@ -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> | 2003-11-08  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* syscalls.cc (ftruncate64): Log length as long long. | 	* syscalls.cc (ftruncate64): Log length as long long. | ||||||
|   | |||||||
| @@ -1878,6 +1878,7 @@ __reent_t::init_clib (struct _reent& var) | |||||||
|   var._stdin = _GLOBAL_REENT->_stdin; |   var._stdin = _GLOBAL_REENT->_stdin; | ||||||
|   var._stdout = _GLOBAL_REENT->_stdout; |   var._stdout = _GLOBAL_REENT->_stdout; | ||||||
|   var._stderr = _GLOBAL_REENT->_stderr; |   var._stderr = _GLOBAL_REENT->_stderr; | ||||||
|  |   var.__sdidinit = _GLOBAL_REENT->__sdidinit; | ||||||
|   _clib = &var; |   _clib = &var; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user