diff options
author | Christopher Faylor <me@cgf.cx> | 2001-11-30 09:19:58 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-11-30 09:19:58 +0300 |
commit | 1cf0d8510a4102506ce84dab72ca3381757bb106 (patch) | |
tree | 9624b673564ffdd0183eb37ee184d56085790083 /winsup/cygwin/miscfuncs.cc | |
parent | 8569e5542e4fa276337260b920bc17aea49d9cc4 (diff) |
* debug.cc (makethread): Eliminate unneeded function call.
* miscfuncs.cc (tls_ix): Predefine.
* perthread.h (set_reent): Eliminate.
(get_reent): Ditto.
* winbase.h (my_tlsalloc): Use global stack base pointer. Set newly allocated
location to NULL.
(my_tlssetvalue): Use global stack base pointer.
(my_tlsgetvalue): Ditto.
Diffstat (limited to 'winsup/cygwin/miscfuncs.cc')
-rw-r--r-- | winsup/cygwin/miscfuncs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc index b93a7588b..5d3010470 100644 --- a/winsup/cygwin/miscfuncs.cc +++ b/winsup/cygwin/miscfuncs.cc @@ -12,7 +12,7 @@ details. */ #include "cygerrno.h" #include <sys/errno.h> -long tls_ix; +long tls_ix = -1; const char case_folded_lower[] NO_COPY = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, |