summaryrefslogtreecommitdiffstats
path: root/src/H5system.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-12-15 21:32:27 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-12-15 21:32:27 (GMT)
commitac8274c3506c106a65dbc9c7a53a6f574ff3379a (patch)
tree02ec3ff100c5a84a37be4c1e9ea9643a1582b18d /src/H5system.c
parent65e09afd6c05ab34fde4f8779ca93a822014c8aa (diff)
downloadhdf5-ac8274c3506c106a65dbc9c7a53a6f574ff3379a.zip
hdf5-ac8274c3506c106a65dbc9c7a53a6f574ff3379a.tar.gz
hdf5-ac8274c3506c106a65dbc9c7a53a6f574ff3379a.tar.bz2
HDFFV-9724 Copy efc_open search from Lextern_traverse
Diffstat (limited to 'src/H5system.c')
-rw-r--r--src/H5system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5system.c b/src/H5system.c
index a8726c2..7b3a0eb 100644
--- a/src/H5system.c
+++ b/src/H5system.c
@@ -1043,7 +1043,7 @@ H5_build_extpath(const char *name, char **extpath /*out*/)
* Unix: does not apply
*/
if(H5_CHECK_ABS_DRIVE(name)) {
- drive = name[0] - 'A' + 1;
+ drive = toupper(name[0]) - 'A' + 1;
retcwd = HDgetdcwd(drive, cwdpath, MAX_PATH_LEN);
HDstrncpy(new_name, &name[2], name_len);
} /* end if */