diff options
author | Vailin Choi <vchoi@hdfgroup.org> | 2008-04-09 13:56:52 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@hdfgroup.org> | 2008-04-09 13:56:52 (GMT) |
commit | 0f7c9bcd5ee8e3ca54855d1de0a43a09f1272fca (patch) | |
tree | 50102b1acfb3171e5869d80d62be5b15c361e808 /src | |
parent | ae63d4bf4f8201707e16344e62b781e7eaad65fa (diff) | |
download | hdf5-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.h | 3 |
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 '/' |