mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-13 08:40:07 +00:00
Update.
2004-02-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/clock_settime.c (clock_settime): Fix typo which prevented system-dependent handling from being used.
This commit is contained in:
parent
37c054c7c4
commit
1dc74473a8
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-19 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/clock_settime.c (clock_settime): Fix typo which
|
||||||
|
prevented system-dependent handling from being used.
|
||||||
|
|
||||||
2004-02-18 Carlos O'Donell <carlos@baldric.uwo.ca>
|
2004-02-18 Carlos O'Donell <carlos@baldric.uwo.ca>
|
||||||
|
|
||||||
* test-skeleton.c (main): If set, use environment variable
|
* test-skeleton.c (main): If set, use environment variable
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@ -65,6 +65,7 @@ __pthread_cond_signal:
|
|||||||
movl total_seq(%edi), %ecx
|
movl total_seq(%edi), %ecx
|
||||||
cmpl 4(%ebx), %eax
|
cmpl 4(%ebx), %eax
|
||||||
#if cond_lock != 0
|
#if cond_lock != 0
|
||||||
|
/* Must use leal to preserve the flags. */
|
||||||
leal cond_lock(%edi), %edi
|
leal cond_lock(%edi), %edi
|
||||||
#endif
|
#endif
|
||||||
ja 3f
|
ja 3f
|
||||||
@ -76,7 +77,7 @@ __pthread_cond_signal:
|
|||||||
3: addl $1, (%ebx)
|
3: addl $1, (%ebx)
|
||||||
adcl $0, 4(%ebx)
|
adcl $0, 4(%ebx)
|
||||||
|
|
||||||
/* Wake up one thread by moving it to the internal lock futex. */
|
/* Wake up one thread. */
|
||||||
movl $FUTEX_WAKE, %ecx
|
movl $FUTEX_WAKE, %ecx
|
||||||
movl $SYS_futex, %eax
|
movl $SYS_futex, %eax
|
||||||
movl $1, %edx
|
movl $1, %edx
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
/* Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -59,8 +59,8 @@ clock_settime (clockid_t clock_id, const struct timespec *tp)
|
|||||||
retval = settimeofday (&tv, NULL); \
|
retval = settimeofday (&tv, NULL); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#ifdef SYSDEP_GETTIME
|
#ifdef SYSDEP_SETTIME
|
||||||
SYSDEP_GETTIME;
|
SYSDEP_SETTIME;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HANDLED_REALTIME
|
#ifndef HANDLED_REALTIME
|
||||||
|
Loading…
Reference in New Issue
Block a user