]> gcc.gnu.org Git - gcc.git/commitdiff
i386-signal.h: Replace sigaction () with __sigaction ().
authorAndrew Haley <aph@cygnus.com>
Thu, 1 Jul 1999 10:30:58 +0000 (10:30 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Thu, 1 Jul 1999 10:30:58 +0000 (10:30 +0000)
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

libjava/ChangeLog
libjava/include/i386-signal.h

index 98b50af0c73be6559c1c564c5e030bf9b215d501..de8946939682ea59ec9bb69e3c20aab98a886410 100644 (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.
index 12ffe2ada1f730c03b8602a0d314cebadaa2fad5..51a94f92da21ffdcc0dcacd59cd02349753388f8 100644 (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)  
 
This page took 0.091029 seconds and 5 git commands to generate.