diff options
author | Zoltan Varga <vargaz@gmail.com> | 2005-04-01 17:22:09 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2005-04-01 17:22:09 +0400 |
commit | f3d7b8666916290770d293ab1bd9a8cc3c908536 (patch) | |
tree | 0efd68af21037078de195c0da4a24bb4095a3c35 /configure.in | |
parent | 71dd19080b46d189ef401c2324ca9ae40771b6a3 (diff) |
2005-04-01 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Fix sigaltstack detection on solaris.
svn path=/trunk/mono/; revision=42460
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.in b/configure.in index 300650d2252..93bd4e2912a 100644 --- a/configure.in +++ b/configure.in @@ -900,23 +900,23 @@ if test x$platform_win32 = xno; then 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; } |