chiark / gitweb /
eglibc (2.11.3-4+deb6u3) squeeze-lts; urgency=medium
[eglibc.git] / debian / patches / hurd-i386 / submitted-itimer-lock.diff
1 http://sourceware.org/ml/libc-alpha/2009-02/msg00003.html
2
3 2009-02-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4
5         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit path
6         instead of returning without unlocking.
7
8 ---
9  sysdeps/mach/hurd/setitimer.c |    2 +-
10  1 file changed, 1 insertion(+), 1 deletion(-)
11
12 --- a/sysdeps/mach/hurd/setitimer.c
13 +++ b/sysdeps/mach/hurd/setitimer.c
14 @@ -220,7 +220,7 @@
15           /* Start up the itimer thread running `timer_thread' (below).  */
16           if (err = __thread_create (__mach_task_self (),
17                                      &_hurd_itimer_thread))
18 -           return __hurd_fail (err);
19 +           goto out;
20           _hurd_itimer_thread_stack_base = 0; /* Anywhere.  */
21           _hurd_itimer_thread_stack_size = __vm_page_size; /* Small stack.  */
22           if ((err = __mach_setup_thread (__mach_task_self (),