summaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-10-22 16:11:43 +0000
committerRoland McGrath <roland@gnu.org>2002-10-22 16:11:43 +0000
commitbd6daf3b198cb5b06d677333d476b89d8e699c2f (patch)
tree761ac09ccb392318b4c4c899c13d74a12cb9b523 /linuxthreads
parent3a0742f9accb9c8d14366809c4ff723447a86929 (diff)
* locale/programs/locarchive.c (add_alias): Change locrec_offset arg
into pointer to locrec_offset. (add_locale_to_archive): Adjust callers. Free normalized_name right before returning, not immediately after add_locale, pass it to add_alias if not NULL instead of name. Rename second normalized_name occurence to nnormalized_codeset_name. 2002-10-21 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_execve): Set caller to EXTRA instead of execve, since the latter has a higher-priority implementation in linuxthreads.
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);