diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2023-09-26 20:11:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 20:11:22 (GMT) |
commit | a87ca572fed15303ad36adcb6f2203f8297e8277 (patch) | |
tree | 88d481127b274229c2e3a21146015fab2c82aa0e /src/H5mpi.c | |
parent | 58f3d6664e7a2af8d6b1813374ab02d72795a5e1 (diff) | |
download | hdf5-a87ca572fed15303ad36adcb6f2203f8297e8277.zip hdf5-a87ca572fed15303ad36adcb6f2203f8297e8277.tar.gz hdf5-a87ca572fed15303ad36adcb6f2203f8297e8277.tar.bz2 |
Replaces HDgetenv with getenv (#3599)
Diffstat (limited to 'src/H5mpi.c')
-rw-r--r-- | src/H5mpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5mpi.c b/src/H5mpi.c index 2cd335d..005a99a 100644 --- a/src/H5mpi.c +++ b/src/H5mpi.c @@ -819,7 +819,7 @@ H5_mpio_get_file_sync_required(MPI_File fh, bool *file_sync_required) HGOTO_ERROR(H5E_LIB, H5E_CANTFREE, FAIL, "can't free MPI info"); /* Force setting the flag via env variable (temp solution before the flag is implemented in MPI) */ - sync_env_var = HDgetenv("HDF5_DO_MPI_FILE_SYNC"); + sync_env_var = getenv("HDF5_DO_MPI_FILE_SYNC"); if (sync_env_var && (!strcmp(sync_env_var, "TRUE") || !strcmp(sync_env_var, "1"))) *file_sync_required = true; if (sync_env_var && (!strcmp(sync_env_var, "FALSE") || !strcmp(sync_env_var, "0"))) |