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
This commit is contained in:
Andrew Haley 1999-07-01 10:30:58 +00:00 committed by Andrew Haley
parent ed534bdd37
commit 0d072f2298
2 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

@ -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)