summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <qkoziol@amazon.com>2023-01-04 19:04:07 (GMT)
committerGitHub <noreply@github.com>2023-01-04 19:04:07 (GMT)
commitc2e3c732f0badd851d9e723384446846b02d0b20 (patch)
tree4aed7434e880ec2d7db059bd9351a6c3245ce939
parent83f81a64222e61c8cc25e48ccefa700631006aab (diff)
downloadhdf5-c2e3c732f0badd851d9e723384446846b02d0b20.zip
hdf5-c2e3c732f0badd851d9e723384446846b02d0b20.tar.gz
hdf5-c2e3c732f0badd851d9e723384446846b02d0b20.tar.bz2
Correct VOL connector env string parsing issue (#2350)
* Correct concurrency bugs when running tests, along with a bugfix & small warning cleanup. * Committing clang-format changes * Allow spaces (and tabs) in VOL connector info string from environment variable. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: AWS ParallelCluster user <ec2-user@ip-10-0-0-65.us-east-2.compute.internal> Co-authored-by: Koziol <qkoziol@88665a374c70.ant.amazon.com>
-rw-r--r--src/H5VLint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5VLint.c b/src/H5VLint.c
index 07798c5..e1d7005 100644
--- a/src/H5VLint.c
+++ b/src/H5VLint.c
@@ -425,7 +425,7 @@ H5VL__set_def_conn(void)
} /* end else */
/* Was there any connector info specified in the environment variable? */
- if (NULL != (tok = HDstrtok_r(NULL, " \t\n\r", &lasts)))
+ if (NULL != (tok = HDstrtok_r(NULL, "\n\r", &lasts)))
if (H5VL__connector_str_to_info(tok, connector_id, &vol_info) < 0)
HGOTO_ERROR(H5E_VOL, H5E_CANTDECODE, FAIL, "can't deserialize connector info")