summaryrefslogtreecommitdiffstats
path: root/src/H5Fint.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-08-06 22:09:59 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-08-06 22:09:59 (GMT)
commit47ad0ac7237b464e939fe54dd129a151944d9706 (patch)
tree5236c1baaefe2a4ec5e85e015595965d75283600 /src/H5Fint.c
parent7391f5f26c0893bb56e0d122c459e77796e2ed9b (diff)
downloadhdf5-47ad0ac7237b464e939fe54dd129a151944d9706.zip
hdf5-47ad0ac7237b464e939fe54dd129a151944d9706.tar.gz
hdf5-47ad0ac7237b464e939fe54dd129a151944d9706.tar.bz2
Renames BEST-EFFORT to BEST_EFFORT for file locking env var
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r--src/H5Fint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c
index 8b2d18f..7b1ea40 100644
--- a/src/H5Fint.c
+++ b/src/H5Fint.c
@@ -291,7 +291,7 @@ H5F__parse_file_lock_env_var(htri_t *use_locks)
lock_env_var = HDgetenv("HDF5_USE_FILE_LOCKING");
if(lock_env_var && (!HDstrcmp(lock_env_var, "FALSE") || !HDstrcmp(lock_env_var, "0")))
*use_locks = FALSE; /* Override: Never use locks */
- else if(lock_env_var && (!HDstrcmp(lock_env_var, "TRUE") || !HDstrcmp(lock_env_var, "BEST-EFFORT") || !HDstrcmp(lock_env_var, "1")))
+ else if(lock_env_var && (!HDstrcmp(lock_env_var, "TRUE") || !HDstrcmp(lock_env_var, "BEST_EFFORT") || !HDstrcmp(lock_env_var, "1")))
*use_locks = TRUE; /* Override: Always use locks */
else
*use_locks = FAIL; /* Environment variable not set, or not set correctly */