summaryrefslogtreecommitdiffstats
path: root/src/H5system.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-12-18 16:45:48 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-12-18 16:45:48 (GMT)
commitcb01a66991bd10ce06a75899bd5503067cb25ace (patch)
treef0d79b7136b6fce73a6dbbdefce2b6230fa8eea3 /src/H5system.c
parent405ac7c6e5e8a251a1daa64e29d48a37fe66c42a (diff)
downloadhdf5-cb01a66991bd10ce06a75899bd5503067cb25ace.zip
hdf5-cb01a66991bd10ce06a75899bd5503067cb25ace.tar.gz
hdf5-cb01a66991bd10ce06a75899bd5503067cb25ace.tar.bz2
HDFFV-10307 Add toupper function
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 */