From bd6daf3b198cb5b06d677333d476b89d8e699c2f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 22 Oct 2002 16:11:43 +0000 Subject: * 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 * 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. --- linuxthreads/ChangeLog | 5 +++++ linuxthreads/manager.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'linuxthreads') 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 + + * manager.c (pthread_start_thread): Call __uselocale even + if [! SHARED]. Patch by Leon Kanter . + 2002-10-17 Roland McGrath * 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); -- cgit v1.2.3