mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2002-08-28 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/elf/configure.in (PI_STATIC_AND_HIDDEN): Define unconditionally. * sysdeps/alpha/elf/configure.in (libc_cv_alpha_hidden_gprel): New check. (PI_STATIC_AND_HIDDEN): Define if check succeeded. 2002-08-28 Jakub Jelinek <jakub@redhat.com> * locale/loadarchive.c (_nl_load_locale_from_archive): Add fd >= 0 check to close_and_out close. Replace return NULL statements where fd might be >= 0 with goto close_and_out. Close the file descriptor when it is no longer needed.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2002-08-28 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/pthread/timer_routines.c (thread_func): Change return
|
||||
type to void and add casts in use to avoid warnings wit all gcc
|
||||
versions.
|
||||
|
||||
2002-08-08 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/bits/local_lim.h (PTHREAD_THREADS_MAX):
|
||||
|
@ -369,7 +369,7 @@ thread_expire_timer (struct thread_node *self, struct timer_node *timer)
|
||||
function is to wait on the thread's timer queue and expire the
|
||||
timers in chronological order as close to their scheduled time as
|
||||
possible. */
|
||||
static void *
|
||||
static void
|
||||
__attribute__ ((noreturn))
|
||||
thread_func (void *arg)
|
||||
{
|
||||
@ -449,9 +449,6 @@ thread_func (void *arg)
|
||||
/* This macro will never be executed since the while loop loops
|
||||
forever - but we have to add it for proper nesting. */
|
||||
pthread_cleanup_pop (1);
|
||||
|
||||
/* NOTREACHED */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@ -492,7 +489,8 @@ __timer_thread_start (struct thread_node *thread)
|
||||
assert (!thread->exists);
|
||||
thread->exists = 1;
|
||||
|
||||
if (pthread_create (&thread->id, &thread->attr, thread_func, thread) != 0)
|
||||
if (pthread_create (&thread->id, &thread->attr,
|
||||
(void (*) (void *)) thread_func, thread) != 0)
|
||||
{
|
||||
thread->exists = 0;
|
||||
retval = -1;
|
||||
|
Reference in New Issue
Block a user