* debug/tst-chk1.c (ret): New volatile variable.
(CHK_FAIL_END): Remove redundant ret setting. (do_test): Remote ret variable.
This commit is contained in:
parent
27bbfab0b7
commit
c4d7bd3907
|
@ -1,3 +1,9 @@
|
||||||
|
2004-11-02 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* debug/tst-chk1.c (ret): New volatile variable.
|
||||||
|
(CHK_FAIL_END): Remove redundant ret setting.
|
||||||
|
(do_test): Remote ret variable.
|
||||||
|
|
||||||
2004-01-03 Paolo Bonzini <bonzini@gnu.org>
|
2004-01-03 Paolo Bonzini <bonzini@gnu.org>
|
||||||
|
|
||||||
* posix/regex_internal.h (__regfree) [!_LIBC]: Define to regfree.
|
* posix/regex_internal.h (__regfree) [!_LIBC]: Define to regfree.
|
||||||
|
|
|
@ -50,7 +50,7 @@ do_prepare (void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
volatile int chk_fail_ok;
|
volatile int chk_fail_ok, ret;
|
||||||
jmp_buf chk_fail_buf;
|
jmp_buf chk_fail_buf;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -86,7 +86,6 @@ int num2 = 987654;
|
||||||
#define CHK_FAIL_END \
|
#define CHK_FAIL_END \
|
||||||
chk_fail_ok = 0; \
|
chk_fail_ok = 0; \
|
||||||
FAIL (); \
|
FAIL (); \
|
||||||
ret = 1; \
|
|
||||||
}
|
}
|
||||||
#if __USE_FORTIFY_LEVEL >= 2
|
#if __USE_FORTIFY_LEVEL >= 2
|
||||||
#define CHK_FAIL2_START CHK_FAIL_START
|
#define CHK_FAIL2_START CHK_FAIL_START
|
||||||
|
@ -99,7 +98,6 @@ int num2 = 987654;
|
||||||
static int
|
static int
|
||||||
do_test (void)
|
do_test (void)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
|
||||||
struct sigaction sa;
|
struct sigaction sa;
|
||||||
sa.sa_handler = handler;
|
sa.sa_handler = handler;
|
||||||
sa.sa_flags = 0;
|
sa.sa_flags = 0;
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2004-11-02 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/smp.h: Include <errno.h>.
|
||||||
|
|
||||||
2004-10-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
2004-10-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/sh/sem_timedwait.S (sem_timedwait):
|
* sysdeps/unix/sysv/linux/sh/sem_timedwait.S (sem_timedwait):
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
|
|
Loading…
Reference in New Issue