summaryrefslogtreecommitdiffstats
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 18:04:19 (GMT)
commitc25651fc5ce850715781a967396328a0b4cef43c (patch)
tree8f3cf5c46c9c7f14c865f29f163db3fe02caf567
parentdb3638b791bfa789157c5712205d7d6ffe89437f (diff)
downloadhdf5-c25651fc5ce850715781a967396328a0b4cef43c.zip
hdf5-c25651fc5ce850715781a967396328a0b4cef43c.tar.gz
hdf5-c25651fc5ce850715781a967396328a0b4cef43c.tar.bz2
HDFFV-10143 Use Windows A version of ExpandEnvironmentStrings
-rw-r--r--src/H5PL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5PL.c b/src/H5PL.c
index fc1108d..abd3ea2 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") \
} \