mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-13 00:30:07 +00:00
Update.
2004-05-21 Ulrich Drepper <drepper@redhat.com> * idna.c (idna_to_unicode_4z4z): Fix test for failed memory allocation. Patch by Simon Josefsson.
This commit is contained in:
parent
f6d77b2076
commit
3abc82c8ce
@ -1,3 +1,8 @@
|
|||||||
|
2004-05-21 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* idna.c (idna_to_unicode_4z4z): Fix test for failed memory allocation.
|
||||||
|
Patch by Simon Josefsson.
|
||||||
|
|
||||||
2004-05-06 Ulrich Drepper <drepper@redhat.com>
|
2004-05-06 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* stringprep.c (stringprep): Free memory if allocation failed.
|
* stringprep.c (stringprep): Free memory if allocation failed.
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2004-05-21 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/pthread/pthread_cond_wait.c (__pthread_cond_wait): Compare
|
||||||
|
__broadcast_seq with bc_seq after acquiring internal lock instead of
|
||||||
|
before it.
|
||||||
|
|
||||||
2004-05-18 Jakub Jelinek <jakub@redhat.com>
|
2004-05-18 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* Makefile (.NOTPARALLEL): Only serialize make check/xcheck, not
|
* Makefile (.NOTPARALLEL): Only serialize make check/xcheck, not
|
||||||
|
@ -143,13 +143,13 @@ __pthread_cond_wait (cond, mutex)
|
|||||||
/* Disable asynchronous cancellation. */
|
/* Disable asynchronous cancellation. */
|
||||||
__pthread_disable_asynccancel (cbuffer.oldtype);
|
__pthread_disable_asynccancel (cbuffer.oldtype);
|
||||||
|
|
||||||
|
/* We are going to look at shared data again, so get the lock. */
|
||||||
|
lll_mutex_lock (cond->__data.__lock);
|
||||||
|
|
||||||
/* If a broadcast happened, we are done. */
|
/* If a broadcast happened, we are done. */
|
||||||
if (cbuffer.bc_seq != cond->__data.__broadcast_seq)
|
if (cbuffer.bc_seq != cond->__data.__broadcast_seq)
|
||||||
goto bc_out;
|
goto bc_out;
|
||||||
|
|
||||||
/* We are going to look at shared data again, so get the lock. */
|
|
||||||
lll_mutex_lock (cond->__data.__lock);
|
|
||||||
|
|
||||||
/* Check whether we are eligible for wakeup. */
|
/* Check whether we are eligible for wakeup. */
|
||||||
val = cond->__data.__wakeup_seq;
|
val = cond->__data.__wakeup_seq;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user