summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2008-04-09 13:56:52 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2008-04-09 13:56:52 (GMT)
commit0f7c9bcd5ee8e3ca54855d1de0a43a09f1272fca (patch)
tree50102b1acfb3171e5869d80d62be5b15c361e808 /src
parentae63d4bf4f8201707e16344e62b781e7eaad65fa (diff)
downloadhdf5-0f7c9bcd5ee8e3ca54855d1de0a43a09f1272fca.zip
hdf5-0f7c9bcd5ee8e3ca54855d1de0a43a09f1272fca.tar.gz
hdf5-0f7c9bcd5ee8e3ca54855d1de0a43a09f1272fca.tar.bz2
[svn-r14822] 1. src/H5private.h: fixed a bug in CHECK_ABSOLUTE() for windows.
2. test/links.c: fixed one external link test to be the same as in 1.8.
Diffstat (limited to 'src')
-rw-r--r--src/H5private.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 97735a2..038ae75 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -927,7 +927,7 @@ extern char *strdup(const char *s);
#define DIR_SEPC '\\'
#define DIR_SEPS "\\"
#define CHECK_DELIMITER(SS) ((SS == DIR_SEPC)||(SS == DIR_SLASH_SEPC))
-#define CHECK_ABSOLUTE(NAME) (((isalpha(NAME[0])) && (NAME[1] == ':') && CHECK_DELIMITER(NAME[2]))
+#define CHECK_ABSOLUTE(NAME) ((isalpha(NAME[0])) && (NAME[1] == ':') && (CHECK_DELIMITER(NAME[2])))
#define CHECK_ABS_DRIVE(NAME) ((isalpha(NAME[0])) && (NAME[1] == ':'))
#define CHECK_ABS_PATH(NAME) (CHECK_DELIMITER(NAME[0]))
@@ -941,7 +941,6 @@ extern char *strdup(const char *s);
(ptr = slash); \
}
-
#else
#define DIR_SEPC '/'