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 /tools/test | |
parent | 58f3d6664e7a2af8d6b1813374ab02d72795a5e1 (diff) | |
download | hdf5-a87ca572fed15303ad36adcb6f2203f8297e8277.zip hdf5-a87ca572fed15303ad36adcb6f2203f8297e8277.tar.gz hdf5-a87ca572fed15303ad36adcb6f2203f8297e8277.tar.bz2 |
Replaces HDgetenv with getenv (#3599)
Diffstat (limited to 'tools/test')
-rw-r--r-- | tools/test/perform/zip_perf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/perform/zip_perf.c b/tools/test/perform/zip_perf.c index 85c41a1..063c165 100644 --- a/tools/test/perform/zip_perf.c +++ b/tools/test/perform/zip_perf.c @@ -100,7 +100,7 @@ error(const char *fmt, ...) static void cleanup(void) { - if (!HDgetenv(HDF5_NOCLEANUP)) + if (!getenv(HDF5_NOCLEANUP)) HDunlink(filename); free(filename); } @@ -197,7 +197,7 @@ static void get_unique_name(void) { const char *prefix = NULL; - const char *env = HDgetenv("HDF5_PREFIX"); + const char *env = getenv("HDF5_PREFIX"); if (env) prefix = env; |