diff options
| author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-07-01 10:30:58 +0000 |
|---|---|---|
| committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-07-01 10:30:58 +0000 |
| commit | 44ac3e04a47278133899b7ec50c5a8f774def692 (patch) | |
| tree | 47366a43c14bceb64fef9c44b8a0587985da6059 /libjava | |
| parent | 7af86522224216c4019a35a331b68480b5397e87 (diff) | |
| download | ppe42-gcc-44ac3e04a47278133899b7ec50c5a8f774def692.tar.gz ppe42-gcc-44ac3e04a47278133899b7ec50c5a8f774def692.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27876 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
| -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 98b50af0c73..de894693968 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 12ffe2ada1f..51a94f92da2 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) |

