Author: zoltan
Date: 2005-04-01 08:22:09 -0500 (Fri, 01 Apr 2005)
New Revision: 42460
Modified:
trunk/mono/ChangeLog
trunk/mono/configure.in
Log:
2005-04-01 Zoltan Varga <[EMAIL PROTECTED]>
* configure.in: Fix sigaltstack detection on solaris.
Modified: trunk/mono/ChangeLog
===================================================================
--- trunk/mono/ChangeLog 2005-04-01 12:54:27 UTC (rev 42459)
+++ trunk/mono/ChangeLog 2005-04-01 13:22:09 UTC (rev 42460)
@@ -1,3 +1,7 @@
+2005-04-01 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * configure.in: Fix sigaltstack detection on solaris.
+
2005-03-27 Raja R Harinath <[EMAIL PROTECTED]>
* configure.in: Define mono_libdir using $(exec_prefix), seeing
Modified: trunk/mono/configure.in
===================================================================
--- trunk/mono/configure.in 2005-04-01 12:54:27 UTC (rev 42459)
+++ trunk/mono/configure.in 2005-04-01 13:22:09 UTC (rev 42460)
@@ -900,23 +900,23 @@
sa.sa_sigaction = sigsegv_signal_handler;
sigemptyset (&sa.sa_mask);
- sa.sa_flags = SA_SIGINFO | SA_STACK;
+ sa.sa_flags = SA_SIGINFO | SA_ONSTACK;
if (sigaction (SIGSEGV, &sa, NULL) == -1) {
- perror ("lala");
+ perror ("sigaction");
return;
}
sas.ss_sp = malloc (SIGSTKSZ);
sas.ss_size = SIGSTKSZ;
- sas.ss_flags = SS_ONSTACK;
+ sas.ss_flags = 0;
if (sigaltstack (&sas, NULL) == -1) {
- perror ("lala");
+ perror ("sigaltstack");
return;
}
pthread_attr_init (&attr);
if (pthread_create(&id, &attr, loop, &attr) !=
0) {
- printf ("failed\n");
+ printf ("pthread_create\n");
return;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches