|
|
@ -1,15 +1,15 @@
|
|
|
|
--- hdf5-1.8.2/src/H5detect.c.signal 2008-11-10 14:28:08.000000000 -0700
|
|
|
|
--- hdf5-1.8.3/src/H5detect.c.signal 2009-05-13 09:02:41.000000000 -0600
|
|
|
|
+++ hdf5-1.8.2/src/H5detect.c 2008-11-14 15:10:51.000000000 -0700
|
|
|
|
+++ hdf5-1.8.3/src/H5detect.c 2009-06-02 10:34:24.203510646 -0600
|
|
|
|
@@ -109,7 +109,7 @@
|
|
|
|
@@ -110,7 +110,7 @@
|
|
|
|
static void detect_C99_integers64(void);
|
|
|
|
|
|
|
|
static void detect_alignments(void);
|
|
|
|
static void detect_alignments(void);
|
|
|
|
|
|
|
|
static void insert_libhdf5_settings(void);
|
|
|
|
static size_t align_g[] = {1, 2, 4, 8, 16};
|
|
|
|
static size_t align_g[] = {1, 2, 4, 8, 16};
|
|
|
|
-static jmp_buf jbuf_g;
|
|
|
|
-static jmp_buf jbuf_g;
|
|
|
|
+static sigjmp_buf jbuf_g;
|
|
|
|
+static sigjmp_buf jbuf_g;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
@@ -368,7 +368,7 @@
|
|
|
|
@@ -369,7 +369,7 @@
|
|
|
|
void (*_handler2)(int) = signal(SIGSEGV, sigsegv_handler); \
|
|
|
|
void (*_handler2)(int) = signal(SIGSEGV, sigsegv_handler); \
|
|
|
|
\
|
|
|
|
\
|
|
|
|
_buf = (char*)malloc(sizeof(TYPE) + align_g[NELMTS(align_g) - 1]); \
|
|
|
|
_buf = (char*)malloc(sizeof(TYPE) + align_g[NELMTS(align_g) - 1]); \
|
|
|
@ -18,7 +18,7 @@
|
|
|
|
if(_ano < NELMTS(align_g)) { \
|
|
|
|
if(_ano < NELMTS(align_g)) { \
|
|
|
|
*((TYPE*)(_buf+align_g[_ano])) = _val; /*possible SIGBUS or SEGSEGV*/ \
|
|
|
|
*((TYPE*)(_buf+align_g[_ano])) = _val; /*possible SIGBUS or SEGSEGV*/ \
|
|
|
|
_val2 = *((TYPE*)(_buf+align_g[_ano])); /*possible SIGBUS or SEGSEGV*/ \
|
|
|
|
_val2 = *((TYPE*)(_buf+align_g[_ano])); /*possible SIGBUS or SEGSEGV*/ \
|
|
|
|
@@ -385,7 +385,7 @@
|
|
|
|
@@ -386,7 +386,7 @@
|
|
|
|
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \
|
|
|
|
memcpy(_buf+align_g[_ano]+(INFO.offset/8),((char *)&_val)+(INFO.offset/8),(size_t)(INFO.precision/8)); \
|
|
|
|
_val2 = *((TYPE*)(_buf+align_g[_ano])); \
|
|
|
|
_val2 = *((TYPE*)(_buf+align_g[_ano])); \
|
|
|
|
if(_val!=_val2) \
|
|
|
|
if(_val!=_val2) \
|
|
|
@ -27,7 +27,7 @@
|
|
|
|
/* End Cray Check */ \
|
|
|
|
/* End Cray Check */ \
|
|
|
|
(INFO.align)=align_g[_ano]; \
|
|
|
|
(INFO.align)=align_g[_ano]; \
|
|
|
|
} else { \
|
|
|
|
} else { \
|
|
|
|
@@ -456,7 +456,7 @@
|
|
|
|
@@ -457,7 +457,7 @@
|
|
|
|
* it's not nearly as nice to work with, it does the job for
|
|
|
|
* it's not nearly as nice to work with, it does the job for
|
|
|
|
* this simple stuff.
|
|
|
|
* this simple stuff.
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -36,7 +36,7 @@
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Programmer: Robb Matzke
|
|
|
|
* Programmer: Robb Matzke
|
|
|
|
* Thursday, March 18, 1999
|
|
|
|
* Thursday, March 18, 1999
|
|
|
|
@@ -469,7 +469,7 @@
|
|
|
|
@@ -470,7 +470,7 @@
|
|
|
|
sigsegv_handler(int UNUSED signo)
|
|
|
|
sigsegv_handler(int UNUSED signo)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
signal(SIGSEGV, sigsegv_handler);
|
|
|
|
signal(SIGSEGV, sigsegv_handler);
|
|
|
@ -45,7 +45,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -481,7 +481,7 @@
|
|
|
|
@@ -482,7 +482,7 @@
|
|
|
|
* it's not nearly as nice to work with, it does the job for
|
|
|
|
* it's not nearly as nice to work with, it does the job for
|
|
|
|
* this simple stuff.
|
|
|
|
* this simple stuff.
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -54,7 +54,7 @@
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Programmer: Robb Matzke
|
|
|
|
* Programmer: Robb Matzke
|
|
|
|
* Thursday, March 18, 1999
|
|
|
|
* Thursday, March 18, 1999
|
|
|
|
@@ -494,7 +494,7 @@
|
|
|
|
@@ -495,7 +495,7 @@
|
|
|
|
sigbus_handler(int UNUSED signo)
|
|
|
|
sigbus_handler(int UNUSED signo)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
signal(SIGBUS, sigbus_handler);
|
|
|
|
signal(SIGBUS, sigbus_handler);
|