Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-02-20 05:53:55 +0300
committerChristopher Faylor <me@cgf.cx>2001-02-20 05:53:55 +0300
commitf97e7d754c03d1a2b09a0da9fe7564ad445b7476 (patch)
tree076a15f743f5873d2f73dbc84a3dfda860560296 /winsup/cygwin/thread.cc
parent72a82eaa20e2b2b40d669bb31b85df5e56f26916 (diff)
* cygwin.din: Export rand48 functions.
* thread.cc (MTinterface::Init): Remove the initialization of `reent_data'. * dcrt0.cc: Add the initalizer to the declaration of `reent_data'. * include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 35.
Diffstat (limited to 'winsup/cygwin/thread.cc')
-rw-r--r--winsup/cygwin/thread.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc
index 81341e460..d34906d42 100644
--- a/winsup/cygwin/thread.cc
+++ b/winsup/cygwin/thread.cc
@@ -301,14 +301,6 @@ MTinterface::Init (int forked)
item->sigmask = NULL;
item->sigtodo = NULL;
#endif
-
- struct _reent *r = _REENT;
- memset (r, 0, sizeof (struct _reent));
-
- r->_errno = 0;
- r->_stdin = &r->__sf[0];
- r->_stdout = &r->__sf[1];
- r->_stderr = &r->__sf[2];
}
ThreadItem *