summaryrefslogtreecommitdiffstats
path: root/src/H5FDstdio.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/H5FDstdio.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/H5FDstdio.c')
-rw-r--r--src/H5FDstdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index 574cd9d..a769e86 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -242,7 +242,7 @@ H5FD_stdio_init(void)
/* Check the use disabled file locks environment variable */
lock_env_var = getenv("HDF5_USE_FILE_LOCKING");
- if(lock_env_var && !strcmp(lock_env_var, "BEST-EFFORT"))
+ if(lock_env_var && !strcmp(lock_env_var, "BEST_EFFORT"))
ignore_disabled_file_locks_s = 1; /* Override: Ignore disabled locks */
else if(lock_env_var && (!strcmp(lock_env_var, "TRUE") || !strcmp(lock_env_var, "1")))
ignore_disabled_file_locks_s = 0; /* Override: Don't ignore disabled locks */