diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-05-18 12:26:32 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-05-18 12:26:32 (GMT) |
commit | 67983bc4313fecf3763f5b337b612357a3ee033b (patch) | |
tree | 0b0fe1bbeed0db06bd66477d10ebc9ba6aa061ba /src/H5FDtest.c | |
parent | 683cc579ea99564c4ce328614d645b10e00f1bc4 (diff) | |
download | hdf5-67983bc4313fecf3763f5b337b612357a3ee033b.zip hdf5-67983bc4313fecf3763f5b337b612357a3ee033b.tar.gz hdf5-67983bc4313fecf3763f5b337b612357a3ee033b.tar.bz2 |
Updated code in H5Xtest.c files and associated tests.
Reverted overlong-strings warning that gives jam issues.
Diffstat (limited to 'src/H5FDtest.c')
-rw-r--r-- | src/H5FDtest.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/H5FDtest.c b/src/H5FDtest.c index f528dfb..2eb176d 100644 --- a/src/H5FDtest.c +++ b/src/H5FDtest.c @@ -71,7 +71,7 @@ /*------------------------------------------------------------------------- - * Function: H5FD_supports_swmr_test() + * Function: H5FD__supports_swmr_test() * * Purpose: Determines if a VFD supports SWMR. * @@ -98,19 +98,18 @@ *------------------------------------------------------------------------- */ hbool_t -H5FD_supports_swmr_test(const char *vfd_name) +H5FD__supports_swmr_test(const char *vfd_name) { hbool_t ret_value = FALSE; FUNC_ENTER_NOAPI_NOINIT_NOERR - if(!vfd_name || !HDstrcmp(vfd_name, "")) + if(!vfd_name || !HDstrcmp(vfd_name, "") || !HDstrcmp(vfd_name, "nomatch")) ret_value = TRUE; else - ret_value = !HDstrcmp(vfd_name, "log") - || !HDstrcmp(vfd_name, "sec2"); + ret_value = !HDstrcmp(vfd_name, "log") || !HDstrcmp(vfd_name, "sec2"); FUNC_LEAVE_NOAPI(ret_value) - -} /* end H5FD_supports_swmr_test() */ + +} /* end H5FD__supports_swmr_test() */ |