diff options
author | Andrew Haley <aph@cygnus.com> | 1999-07-01 10:30:58 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 1999-07-01 10:30:58 +0000 |
commit | 0d072f2298d8f17990241da9d521cc3b7638b39c (patch) | |
tree | 47366a43c14bceb64fef9c44b8a0587985da6059 | |
parent | ed534bdd3753683d7bb4fa1d6b5f1e8760ad7342 (diff) | |
download | gcc-0d072f2298d8f17990241da9d521cc3b7638b39c.zip gcc-0d072f2298d8f17990241da9d521cc3b7638b39c.tar.gz gcc-0d072f2298d8f17990241da9d521cc3b7638b39c.tar.bz2 |
i386-signal.h: Replace sigaction () with __sigaction ().
1999-07-01 Andrew Haley <aph@cygnus.com>
* include/i386-signal.h: Replace sigaction () with __sigaction ().
This is a workaround for a bug in glibc's pthreads package which
doesn't deliver any sigcontext information to a signal handler.
From-SVN: r27876
-rw-r--r-- | libjava/ChangeLog | 6 | ||||
-rw-r--r-- | libjava/include/i386-signal.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 98b50af..de89469 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +1999-07-01 Andrew Haley <aph@cygnus.com> + + * include/i386-signal.h: Replace sigaction () with __sigaction (). + This is a workaround for a bug in glibc's pthreads package which + doesn't deliver any sigcontext information to a signal handler. + 1999-06-24 Tom Tromey <tromey@cygnus.com> * java/lang/e_asin.c: Don't use __int32_t or __uint32_t. diff --git a/libjava/include/i386-signal.h b/libjava/include/i386-signal.h index 12ffe2a..51a94f9 100644 --- a/libjava/include/i386-signal.h +++ b/libjava/include/i386-signal.h @@ -114,7 +114,7 @@ do \ act.sa_handler = catch_segv; \ sigemptyset (&act.sa_mask); \ act.sa_flags = 0; \ - sigaction (SIGSEGV, &act, NULL); \ + __sigaction (SIGSEGV, &act, NULL); \ } \ while (0) @@ -127,7 +127,7 @@ do \ act.sa_handler = catch_fpe; \ sigemptyset (&act.sa_mask); \ act.sa_flags = 0; \ - sigaction (SIGFPE, &act, NULL); \ + __sigaction (SIGFPE, &act, NULL); \ } \ while (0) |