aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/manager.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 6b185a02e8..1e069044ee 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-22 Jakub Jelinek <jakub@redhat.com>
+
+ * manager.c (pthread_start_thread): Call __uselocale even
+ if [! SHARED]. Patch by Leon Kanter <leon@geon.donetsk.ua>.
+
2002-10-17 Roland McGrath <roland@redhat.com>
* Makefile (unload): Don't link in libpthread.so.
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c
index cb9c33ecfb..1d21760cf9 100644
--- a/linuxthreads/manager.c
+++ b/linuxthreads/manager.c
@@ -283,7 +283,7 @@ pthread_start_thread(void *arg)
__sched_setscheduler(THREAD_GETMEM(self, p_pid),
SCHED_OTHER, &default_params);
}
-#if !(USE_TLS && HAVE___THREAD) && defined SHARED
+#if !(USE_TLS && HAVE___THREAD)
/* Initialize thread-locale current locale to point to the global one.
With __thread support, the variable's initializer takes care of this. */
__uselocale (LC_GLOBAL_LOCALE);