summaryrefslogtreecommitdiffstats
path: root/src/H5Lexternal.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-05-09 20:31:43 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-05-09 20:31:43 (GMT)
commit4e5f011c34295706e606e1e235be2e58f6b1330b (patch)
tree13e6e1148a38cd2fcfe683b586b1b04a68920a2e /src/H5Lexternal.c
parenta4c349dececd313612f2bfbfb964cbf0eab92827 (diff)
downloadhdf5-4e5f011c34295706e606e1e235be2e58f6b1330b.zip
hdf5-4e5f011c34295706e606e1e235be2e58f6b1330b.tar.gz
hdf5-4e5f011c34295706e606e1e235be2e58f6b1330b.tar.bz2
[svn-r20778] I changed the macro definition of DIR_SEPC and DIR_SEPS to ']' for OpenVMS in H5private.h. Strictly speaking, it isn't
the directory seperator. But it can simplify the code and make the H5L_build_name function cleaner. Tested on jam because the change only affects VMS.
Diffstat (limited to 'src/H5Lexternal.c')
-rw-r--r--src/H5Lexternal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Lexternal.c b/src/H5Lexternal.c
index d3ae271..01b405a 100644
--- a/src/H5Lexternal.c
+++ b/src/H5Lexternal.c
@@ -146,10 +146,9 @@ H5L_build_name(char *prefix, char *file_name, char **full_name/*out*/)
/* Copy the prefix into the buffer */
HDstrcpy(*full_name, prefix);
-#ifndef H5_VMS
+
if (!CHECK_DELIMITER(prefix[prefix_len-1]))
HDstrcat(*full_name, DIR_SEPS);
-#endif
/* Add the external link's filename to the prefix supplied */
HDstrcat(*full_name, file_name);