summaryrefslogtreecommitdiffstats
path: root/src/H5detect.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2010-04-29 22:40:10 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2010-04-29 22:40:10 (GMT)
commitad4f1dc17df4afa178a971d88a5b2c1ab321f230 (patch)
treea25c78ea9d9440081fa93345dfba289209f1fb01 /src/H5detect.c
parent616e1be117ec1a625ce7d239fe8f81f187c991c4 (diff)
downloadhdf5-ad4f1dc17df4afa178a971d88a5b2c1ab321f230.zip
hdf5-ad4f1dc17df4afa178a971d88a5b2c1ab321f230.tar.gz
hdf5-ad4f1dc17df4afa178a971d88a5b2c1ab321f230.tar.bz2
[svn-r18677] Just mopped up some looseends by using the macro HDxyz instead the xyz function
names. Tested: Jam only since this is trivial.
Diffstat (limited to 'src/H5detect.c')
-rw-r--r--src/H5detect.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5detect.c b/src/H5detect.c
index 5bae2bb..4490fb5 100644
--- a/src/H5detect.c
+++ b/src/H5detect.c
@@ -71,13 +71,13 @@ static const char *FileHeader = "\n\
#if defined(H5_HAVE_SIGSETJMP) && defined(H5_HAVE_SIGLONGJMP)
/* Always save blocked signals to be restore by siglongjmp. */
#define H5JMP_BUF sigjmp_buf
-#define H5SETJMP(buf) sigsetjmp(buf, 1)
-#define H5LONGJMP(buf, val) siglongjmp(buf, val)
+#define H5SETJMP(buf) HDsigsetjmp(buf, 1)
+#define H5LONGJMP(buf, val) HDsiglongjmp(buf, val)
#define H5HAVE_SIGJMP # sigsetjmp/siglongjmp are supported.
#elif defined(H5_HAVE_LONGJMP)
#define H5JMP_BUF jmp_buf
-#define H5SETJMP(buf) setjmp(buf)
-#define H5LONGJMP(buf, val) longjmp(buf, val)
+#define H5SETJMP(buf) HDsetjmp(buf)
+#define H5LONGJMP(buf, val) HDlongjmp(buf, val)
#endif
/* ALIGNMENT and signal-handling status codes */
@@ -463,9 +463,9 @@ sigsegv_handler(int UNUSED signo)
/* supported. */
sigset_t set;
- sigemptyset(&set);
- sigaddset(&set, SIGSEGV);
- sigprocmask(SIG_UNBLOCK, &set, NULL);
+ HDsigemptyset(&set);
+ HDsigaddset(&set, SIGSEGV);
+ HDsigprocmask(SIG_UNBLOCK, &set, NULL);
#endif
sigsegv_handler_called_g++;