From: Ulrich Drepper Date: Fri, 3 Oct 2003 19:49:23 +0000 (+0000) Subject: (__pthread_once): Check __sigsetjmp return value. X-Git-Tag: upstream/2.30~18676 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e9a7bbab6b8ae9f9107535dc98eb75dc1c28ffd5;p=external%2Fglibc.git (__pthread_once): Check __sigsetjmp return value. --- diff --git a/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S b/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S index 107a9a9..312933c 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S @@ -109,6 +109,7 @@ __pthread_once: movl $0, 4(%esp) movl %eax, (%esp) call __sigsetjmp@PLT + testl %eax, %eax jne 7f leal 8(%esp), %eax