From e9a7bbab6b8ae9f9107535dc98eb75dc1c28ffd5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 3 Oct 2003 19:49:23 +0000 Subject: [PATCH] (__pthread_once): Check __sigsetjmp return value. --- nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S | 1 + 1 file changed, 1 insertion(+) 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 -- 2.7.4