From daf4ab55869c71b69a4764bd5947ba230d5da0da Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 23 Apr 1999 16:07:42 -0500 Subject: [svn-r1209] Handled another signal that the Cray T3E was generating on invalid memory accesses. --- src/H5detect.c | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/src/H5detect.c b/src/H5detect.c index cb7cebe..6943972 100644 --- a/src/H5detect.c +++ b/src/H5detect.c @@ -248,12 +248,13 @@ precision (detected_t *d) volatile TYPE _val=0; \ volatile size_t _ano=0; \ void (*_handler)(int) = signal(SIGBUS, sigbus_handler); \ + void (*_handler2)(int) = signal(SIGSEGV, sigsegv_handler); \ \ _buf = malloc(sizeof(TYPE)+align_g[NELMTS(align_g)-1]); \ if (setjmp(jbuf_g)) _ano++; \ if (_ano