24 lines
820 B
Plaintext
24 lines
820 B
Plaintext
--- Source/kwsys/SystemInformation.cxx.orig Thu Apr 23 08:25:23 2015
|
|
+++ Source/kwsys/SystemInformation.cxx Thu Apr 23 08:25:29 2015
|
|
@@ -81,7 +81,7 @@
|
|
# include <errno.h> // extern int errno;
|
|
#endif
|
|
|
|
-#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
+#if defined(__OpenBSD__) || defined(__minix) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
# include <sys/param.h>
|
|
# include <sys/sysctl.h>
|
|
# include <sys/socket.h>
|
|
@@ -3703,7 +3703,11 @@
|
|
// install ours
|
|
struct sigaction sa;
|
|
sa.sa_sigaction=(SigAction)StacktraceSignalHandler;
|
|
+# if defined(__minix)
|
|
+ sa.sa_flags=SA_RESETHAND;
|
|
+# else
|
|
sa.sa_flags=SA_SIGINFO|SA_RESETHAND;
|
|
+# endif /* defined(__minix) */
|
|
# ifdef SA_RESTART
|
|
sa.sa_flags|=SA_RESTART;
|
|
# endif
|