summaryrefslogtreecommitdiffstats
path: root/src/H5PL.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-03-30 17:17:48 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-03-30 17:17:48 (GMT)
commit17bb6be1d8cd6f13f937de511e16da9a1774152b (patch)
treed2232dcd9664c16aeb4d6636316e10797e0f17b1 /src/H5PL.c
parent1dee0d46273882eedeed50238d9e3e23cf435291 (diff)
downloadhdf5-17bb6be1d8cd6f13f937de511e16da9a1774152b.zip
hdf5-17bb6be1d8cd6f13f937de511e16da9a1774152b.tar.gz
hdf5-17bb6be1d8cd6f13f937de511e16da9a1774152b.tar.bz2
HDFFV-10143 Use Windows A version of ExpandEnvironmentStrings
Diffstat (limited to 'src/H5PL.c')
-rw-r--r--src/H5PL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5PL.c b/src/H5PL.c
index f6af691..2a9b046 100644
--- a/src/H5PL.c
+++ b/src/H5PL.c
@@ -38,7 +38,7 @@
char *tempbuf; \
if(NULL == (tempbuf = (char *)H5MM_malloc(H5PL_EXPAND_BUFFER_SIZE))) \
HGOTO_ERROR(H5E_PLUGIN, H5E_CANTALLOC, FAIL, "can't allocate memory for expanded path") \
- if((bufCharCount = ExpandEnvironmentStrings(dl_path, tempbuf, H5PL_EXPAND_BUFFER_SIZE)) > H5PL_EXPAND_BUFFER_SIZE) { \
+ if((bufCharCount = ExpandEnvironmentStringsA(dl_path, tempbuf, H5PL_EXPAND_BUFFER_SIZE)) > H5PL_EXPAND_BUFFER_SIZE) { \
tempbuf = (char *)H5MM_xfree(tempbuf); \
HGOTO_ERROR(H5E_PLUGIN, H5E_NOSPACE, FAIL, "expanded path is too long") \
} \