From: Ulrich Drepper Date: Fri, 3 Oct 2003 19:49:23 +0000 (+0000) Subject: (__pthread_once): Check __sigsetjmp return value. X-Git-Tag: cvs/glibc-2_3_3~135 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9a7bbab6b8ae9f9107535dc98eb75dc1c28ffd5;p=thirdparty%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 107a9a919e3..312933c5e47 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