Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaces HDgetenv with getenv #3599

Merged
merged 2 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/H5.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ H5_init_library(void)

/* Debugging? */
H5__debug_mask("-all");
H5__debug_mask(HDgetenv("HDF5_DEBUG"));
H5__debug_mask(getenv("HDF5_DEBUG"));

done:
FUNC_LEAVE_NOAPI(ret_value)
Expand Down Expand Up @@ -887,7 +887,7 @@ H5check_version(unsigned majnum, unsigned minnum, unsigned relnum)
const char *s; /* Environment string for disabling version check */

/* Allow different versions of the header files and library? */
s = HDgetenv("HDF5_DISABLE_VERSION_CHECK");
s = getenv("HDF5_DISABLE_VERSION_CHECK");

if (s && isdigit(*s))
disable_version_check = (unsigned int)strtol(s, NULL, 0);
Expand Down
2 changes: 1 addition & 1 deletion src/H5AC.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ H5AC_init(void)
{
const char *s; /* String for environment variables */

s = HDgetenv("H5_COLL_API_SANITY_CHECK");
s = getenv("H5_COLL_API_SANITY_CHECK");
if (s && isdigit(*s)) {
long env_val = strtol(s, NULL, 0);
H5_coll_api_sanity_check_g = (0 == env_val) ? false : true;
Expand Down
4 changes: 2 additions & 2 deletions src/H5Dint.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ H5D_init(void)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't retrieve pipeline filter");

/* Retrieve the prefixes of VDS and external file from the environment variable */
H5D_prefix_vds_env = HDgetenv("HDF5_VDS_PREFIX");
H5D_prefix_ext_env = HDgetenv("HDF5_EXTFILE_PREFIX");
H5D_prefix_vds_env = getenv("HDF5_VDS_PREFIX");
H5D_prefix_ext_env = getenv("HDF5_EXTFILE_PREFIX");

done:
FUNC_LEAVE_NOAPI(ret_value)
Expand Down
2 changes: 1 addition & 1 deletion src/H5Dmpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ H5D__mpio_debug_init(void)
memset(H5D_mpio_debug_flags_s, 0, sizeof(H5D_mpio_debug_flags_s));

/* Retrieve and parse the H5Dmpio debug string */
debug_str = HDgetenv("H5D_mpio_Debug");
debug_str = getenv("H5D_mpio_Debug");
if (debug_str)
H5D__mpio_parse_debug_str(debug_str);

Expand Down
4 changes: 2 additions & 2 deletions src/H5FDcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ H5FD__core_write_to_bstore(H5FD_core_t *file, haddr_t addr, size_t size)
static inline const H5FD_core_fapl_t *
H5FD__core_get_default_config(void)
{
char *driver = HDgetenv(HDF5_DRIVER);
char *driver = getenv(HDF5_DRIVER);

if (driver) {
if (!strcmp(driver, "core"))
Expand Down Expand Up @@ -462,7 +462,7 @@ H5FD_core_init(void)
FUNC_ENTER_NOAPI_NOERR

/* Check the use disabled file locks environment variable */
lock_env_var = HDgetenv(HDF5_USE_FILE_LOCKING);
lock_env_var = getenv(HDF5_USE_FILE_LOCKING);
if (lock_env_var && !strcmp(lock_env_var, "BEST_EFFORT"))
ignore_disabled_file_locks_s = true; /* Override: Ignore disabled locks */
else if (lock_env_var && (!strcmp(lock_env_var, "TRUE") || !strcmp(lock_env_var, "1")))
Expand Down
2 changes: 1 addition & 1 deletion src/H5FDdirect.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ H5FD_direct_init(void)
FUNC_ENTER_NOAPI(H5I_INVALID_HID)

/* Check the use disabled file locks environment variable */
lock_env_var = HDgetenv(HDF5_USE_FILE_LOCKING);
lock_env_var = getenv(HDF5_USE_FILE_LOCKING);
if (lock_env_var && !strcmp(lock_env_var, "BEST_EFFORT"))
ignore_disabled_file_locks_s = true; /* Override: Ignore disabled locks */
else if (lock_env_var && (!strcmp(lock_env_var, "TRUE") || !strcmp(lock_env_var, "1")))
Expand Down
2 changes: 1 addition & 1 deletion src/H5FDlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ H5FD_log_init(void)
FUNC_ENTER_NOAPI_NOERR

/* Check the use disabled file locks environment variable */
lock_env_var = HDgetenv(HDF5_USE_FILE_LOCKING);
lock_env_var = getenv(HDF5_USE_FILE_LOCKING);
if (lock_env_var && !strcmp(lock_env_var, "BEST_EFFORT"))
ignore_disabled_file_locks_s = true; /* Override: Ignore disabled locks */
else if (lock_env_var && (!strcmp(lock_env_var, "TRUE") || !strcmp(lock_env_var, "1")))
Expand Down
6 changes: 3 additions & 3 deletions src/H5FDmpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ H5FD_mpio_init(void)
H5FD_MPIO_g = H5FD_register((const H5FD_class_t *)&H5FD_mpio_g, sizeof(H5FD_class_t), false);

/* Check if MPI driver has been loaded dynamically */
env = HDgetenv(HDF5_DRIVER);
env = getenv(HDF5_DRIVER);
if (env && !strcmp(env, "mpio")) {
int mpi_initialized = 0;

Expand All @@ -299,7 +299,7 @@ H5FD_mpio_init(void)
const char *s; /* String for environment variables */

/* Allow MPI buf-and-file-type optimizations? */
s = HDgetenv("HDF5_MPI_OPT_TYPES");
s = getenv("HDF5_MPI_OPT_TYPES");
if (s && isdigit(*s))
H5FD_mpi_opt_types_g = (0 == strtol(s, NULL, 0)) ? false : true;

Expand All @@ -308,7 +308,7 @@ H5FD_mpio_init(void)
memset(H5FD_mpio_debug_flags_s, 0, sizeof(H5FD_mpio_debug_flags_s));

/* Retrieve MPI-IO debugging environment variable */
s = HDgetenv("H5FD_mpio_Debug");
s = getenv("H5FD_mpio_Debug");
if (s)
H5FD__mpio_parse_debug_str(s);
#endif /* H5FDmpio_DEBUG */
Expand Down
4 changes: 2 additions & 2 deletions src/H5FDs3comms.c
Original file line number Diff line number Diff line change
Expand Up @@ -2074,9 +2074,9 @@ H5FD_s3comms_load_aws_profile(const char *profile_name, char *key_id_out, char *
#endif

#ifdef H5_HAVE_WIN32_API
ret = snprintf(awspath, 117, "%s/.aws/", HDgetenv("USERPROFILE"));
ret = snprintf(awspath, 117, "%s/.aws/", getenv("USERPROFILE"));
#else
ret = snprintf(awspath, 117, "%s/.aws/", HDgetenv("HOME"));
ret = snprintf(awspath, 117, "%s/.aws/", getenv("HOME"));
#endif
if (ret < 0 || (size_t)ret >= 117)
HGOTO_ERROR(H5E_ARGS, H5E_CANTCOPY, FAIL, "unable to format home-aws path");
Expand Down
2 changes: 1 addition & 1 deletion src/H5FDsec2.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ H5FD_sec2_init(void)
FUNC_ENTER_NOAPI_NOERR

/* Check the use disabled file locks environment variable */
lock_env_var = HDgetenv(HDF5_USE_FILE_LOCKING);
lock_env_var = getenv(HDF5_USE_FILE_LOCKING);
if (lock_env_var && !strcmp(lock_env_var, "BEST_EFFORT"))
ignore_disabled_file_locks_s = true; /* Override: Ignore disabled locks */
else if (lock_env_var && (!strcmp(lock_env_var, "TRUE") || !strcmp(lock_env_var, "1")))
Expand Down
4 changes: 2 additions & 2 deletions src/H5FDsubfiling/H5FDioc.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ H5FD_ioc_init(void)
H5_SUBFILING_GOTO_ERROR(H5E_ID, H5E_CANTREGISTER, H5I_INVALID_HID, "can't register IOC VFD");

/* Check if IOC VFD has been loaded dynamically */
env_var = HDgetenv(HDF5_DRIVER);
env_var = getenv(HDF5_DRIVER);
if (env_var && !strcmp(env_var, H5FD_IOC_NAME)) {
int mpi_initialized = 0;
int provided = 0;
Expand Down Expand Up @@ -1494,7 +1494,7 @@ H5FD__ioc_del(const char *name, hid_t fapl)
"can't allocate config file name buffer");

/* Check if a prefix has been set for the configuration file name */
prefix_env = HDgetenv(H5FD_SUBFILING_CONFIG_FILE_PREFIX);
prefix_env = getenv(H5FD_SUBFILING_CONFIG_FILE_PREFIX);

/* TODO: No support for subfile directory prefix currently */
/* TODO: Possibly try loading config file prefix from file before deleting */
Expand Down
2 changes: 1 addition & 1 deletion src/H5FDsubfiling/H5FDioc_threads.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ initialize_ioc_threads(void *_sf_context)
H5_SUBFILING_GOTO_ERROR(H5E_RESOURCE, H5E_CANTINIT, (-1), "can't initialize IOC thread queue mutex");

/* Allow experimentation with the number of helper threads */
if ((env_value = HDgetenv(H5FD_IOC_THREAD_POOL_SIZE)) != NULL) {
if ((env_value = getenv(H5FD_IOC_THREAD_POOL_SIZE)) != NULL) {
int value_check = atoi(env_value);
if (value_check > 0) {
thread_pool_size = (unsigned int)value_check;
Expand Down
2 changes: 1 addition & 1 deletion src/H5FDsubfiling/H5FDsubfiling.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ H5FD__subfiling_get_default_config(hid_t fapl_id, H5FD_subfiling_config_t *confi
config_out->shared_cfg.stripe_size = H5FD_SUBFILING_DEFAULT_STRIPE_SIZE;
config_out->shared_cfg.stripe_count = H5FD_SUBFILING_DEFAULT_STRIPE_COUNT;

if ((h5_require_ioc = HDgetenv("H5_REQUIRE_IOC")) != NULL) {
if ((h5_require_ioc = getenv("H5_REQUIRE_IOC")) != NULL) {
int value_check = atoi(h5_require_ioc);
if (value_check == 0)
config_out->require_ioc = false;
Expand Down
10 changes: 5 additions & 5 deletions src/H5FDsubfiling/H5subfiling_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ init_subfiling(const char *base_filename, uint64_t file_id, H5FD_subfiling_param
new_context->sf_group_comm = MPI_COMM_NULL;

/* Check if a prefix has been set for the configuration file name */
prefix_env = HDgetenv(H5FD_SUBFILING_CONFIG_FILE_PREFIX);
prefix_env = getenv(H5FD_SUBFILING_CONFIG_FILE_PREFIX);
if (prefix_env) {
if (NULL == (new_context->config_file_prefix = strdup(prefix_env)))
H5_SUBFILING_GOTO_ERROR(H5E_VFL, H5E_CANTCOPY, FAIL, "couldn't copy config file prefix string");
Expand Down Expand Up @@ -851,7 +851,7 @@ init_subfiling(const char *base_filename, uint64_t file_id, H5FD_subfiling_param
char *env_value = NULL;

/* Check for a subfiling stripe size setting from the environment */
if ((env_value = HDgetenv(H5FD_SUBFILING_STRIPE_SIZE))) {
if ((env_value = getenv(H5FD_SUBFILING_STRIPE_SIZE))) {
long long stripe_size = -1;

errno = 0;
Expand Down Expand Up @@ -981,7 +981,7 @@ init_app_topology(int64_t sf_context_id, H5FD_subfiling_params_t *subfiling_conf
case SELECT_IOC_ONE_PER_NODE: {
if (comm_size > 1) {
/* Check for an IOC-per-node value set in the environment */
if ((env_value = HDgetenv(H5FD_SUBFILING_IOC_PER_NODE))) {
if ((env_value = getenv(H5FD_SUBFILING_IOC_PER_NODE))) {
errno = 0;
ioc_select_val = strtol(env_value, NULL, 0);
if ((ERANGE == errno)) {
Expand Down Expand Up @@ -1178,7 +1178,7 @@ static herr_t
get_ioc_selection_criteria_from_env(H5FD_subfiling_ioc_select_t *ioc_selection_type, char **ioc_sel_info_str)
{
char *opt_value = NULL;
char *env_value = HDgetenv(H5FD_SUBFILING_IOC_SELECTION_CRITERIA);
char *env_value = getenv(H5FD_SUBFILING_IOC_SELECTION_CRITERIA);
herr_t ret_value = SUCCEED;

assert(ioc_selection_type);
Expand Down Expand Up @@ -1821,7 +1821,7 @@ init_subfiling_context(subfiling_context_t *sf_context, const char *base_filenam
"couldn't allocate space for subfiling filename");

/* Check for a subfile name prefix setting in the environment */
if ((env_value = HDgetenv(H5FD_SUBFILING_SUBFILE_PREFIX))) {
if ((env_value = getenv(H5FD_SUBFILING_SUBFILE_PREFIX))) {
if (NULL == (sf_context->subfile_prefix = strdup(env_value)))
H5_SUBFILING_GOTO_ERROR(H5E_RESOURCE, H5E_CANTALLOC, FAIL, "couldn't copy subfile prefix value");
}
Expand Down
6 changes: 3 additions & 3 deletions src/H5Fint.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ H5F__parse_file_lock_env_var(htri_t *use_locks)
FUNC_ENTER_PACKAGE_NOERR

/* Check the file locking environment variable */
lock_env_var = HDgetenv(HDF5_USE_FILE_LOCKING);
lock_env_var = getenv(HDF5_USE_FILE_LOCKING);
if (lock_env_var && (!strcmp(lock_env_var, "FALSE") || !strcmp(lock_env_var, "0")))
*use_locks = false; /* Override: Never use locks */
else if (lock_env_var && (!strcmp(lock_env_var, "TRUE") || !strcmp(lock_env_var, "BEST_EFFORT") ||
Expand Down Expand Up @@ -875,9 +875,9 @@ H5F_prefix_open_file(H5F_t *primary_file, H5F_prefix_open_t prefix_type, const c

/* Get the appropriate environment variable */
if (H5F_PREFIX_VDS == prefix_type)
env_prefix = HDgetenv("HDF5_VDS_PREFIX");
env_prefix = getenv("HDF5_VDS_PREFIX");
else if (H5F_PREFIX_ELINK == prefix_type)
env_prefix = HDgetenv("HDF5_EXT_PREFIX");
env_prefix = getenv("HDF5_EXT_PREFIX");
else
HGOTO_ERROR(H5E_FILE, H5E_BADTYPE, NULL, "prefix type is not sensible");

Expand Down
2 changes: 1 addition & 1 deletion src/H5PLint.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ H5PL_init(void)
* to ignore plugins. The special symbol H5PL_NO_PLUGIN (defined in
* H5PLpublic.h) means we don't want to load plugins.
*/
if (NULL != (env_var = HDgetenv(HDF5_PLUGIN_PRELOAD)))
if (NULL != (env_var = getenv(HDF5_PLUGIN_PRELOAD)))
if (!strcmp(env_var, H5PL_NO_PLUGIN)) {
H5PL_plugin_control_mask_g = 0;
H5PL_allow_plugins_g = false;
Expand Down
2 changes: 1 addition & 1 deletion src/H5PLpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ H5PL__create_path_table(void)
/* Retrieve paths from HDF5_PLUGIN_PATH if the user sets it
* or from the default paths if it isn't set.
*/
env_var = HDgetenv(HDF5_PLUGIN_PATH);
env_var = getenv(HDF5_PLUGIN_PATH);
if (NULL == env_var)
paths = H5MM_strdup(H5PL_DEFAULT_PATH);
else
Expand Down
4 changes: 2 additions & 2 deletions src/H5Pfapl.c
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ H5P__facc_set_def_driver(void)
FUNC_ENTER_PACKAGE

/* Check if VFL driver environment variable is set */
driver_env_var = HDgetenv(HDF5_DRIVER);
driver_env_var = getenv(HDF5_DRIVER);

/* Only parse VFL driver string if it's set */
if (driver_env_var && *driver_env_var) {
Expand Down Expand Up @@ -889,7 +889,7 @@ H5P__facc_set_def_driver(void)
} /* end else */

/* Retrieve driver configuration string from environment variable, if set. */
driver_config_env_var = HDgetenv(HDF5_DRIVER_CONFIG);
driver_config_env_var = getenv(HDF5_DRIVER_CONFIG);

driver_prop.driver_id = driver_id;
driver_prop.driver_info = NULL;
Expand Down
2 changes: 1 addition & 1 deletion src/H5VLint.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ H5VL__set_def_conn(void)
} /* end if */

/* Check for environment variable set */
env_var = HDgetenv(HDF5_VOL_CONNECTOR);
env_var = getenv(HDF5_VOL_CONNECTOR);

/* Only parse the string if it's set */
if (env_var && *env_var) {
Expand Down
2 changes: 1 addition & 1 deletion src/H5mpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
Expand Down
3 changes: 0 additions & 3 deletions src/H5private.h
Original file line number Diff line number Diff line change
Expand Up @@ -694,9 +694,6 @@ H5_DLL H5_ATTR_CONST int Nflock(int fd, int operation);
#define HDgetdrive() 0
#endif

#ifndef HDgetenv
#define HDgetenv(S) getenv(S)
#endif
#ifndef HDgetpid
#define HDgetpid() getpid()
#endif
Expand Down
4 changes: 2 additions & 2 deletions test/API/H5_api_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@ main(int argc, char **argv)
seed = (unsigned)HDtime(NULL);
srand(seed);

if (NULL == (test_path_prefix = HDgetenv(HDF5_API_TEST_PATH_PREFIX)))
if (NULL == (test_path_prefix = getenv(HDF5_API_TEST_PATH_PREFIX)))
test_path_prefix = "";

snprintf(H5_api_test_filename, H5_API_TEST_FILENAME_MAX_LENGTH, "%s%s", test_path_prefix, TEST_FILE_NAME);

if (NULL == (vol_connector_string = HDgetenv(HDF5_VOL_CONNECTOR))) {
if (NULL == (vol_connector_string = getenv(HDF5_VOL_CONNECTOR))) {
printf("No VOL connector selected; using native VOL connector\n");
vol_connector_name = "native";
vol_connector_info = NULL;
Expand Down
18 changes: 9 additions & 9 deletions test/API/testhdf5.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ getenv_all(MPI_Comm comm, int root, const char *name)
/* The root task does the getenv call
* and sends the result to the other tasks */
if (mpi_rank == root) {
env = HDgetenv(name);
env = getenv(name);
if (env) {
len = (int)strlen(env);
MPI_Bcast(&len, 1, MPI_INT, root, comm);
Expand Down Expand Up @@ -158,7 +158,7 @@ getenv_all(MPI_Comm comm, int root, const char *name)
/* use original getenv */
if (env)
free(env);
env = HDgetenv(name);
env = getenv(name);
} /* end if */

return env;
Expand Down Expand Up @@ -218,7 +218,7 @@ h5_get_libver_fapl(hid_t fapl)
char buf[1024]; /* buffer for tokenizing HDF5_DRIVER */

/* Get the environment variable, if it exists */
env = HDgetenv("HDF5_LIBVER_BOUNDS");
env = getenv("HDF5_LIBVER_BOUNDS");
#ifdef HDF5_LIBVER_BOUNDS
/* Use the environment variable, then the compile-time constant */
if (!env)
Expand Down Expand Up @@ -280,7 +280,7 @@ h5_fixname_real(const char *base_name, hid_t fapl, const char *_suffix, char *fu
/* Determine if driver is set by environment variable. If it is,
* only generate a suffix if fixing the filename for the superblock
* file. */
driver_env_var = HDgetenv(HDF5_DRIVER);
driver_env_var = getenv(HDF5_DRIVER);
if (driver_env_var && (H5P_DEFAULT == fapl) && subst_for_superblock)
fapl = H5P_FILE_ACCESS_DEFAULT;

Expand Down Expand Up @@ -334,7 +334,7 @@ h5_fixname_real(const char *base_name, hid_t fapl, const char *_suffix, char *fu
#endif /* H5_HAVE_PARALLEL */
}
else {
if (HDgetenv(HDF5_NOCLEANUP))
if (getenv(HDF5_NOCLEANUP))
SetTestNoCleanup();
}
#endif
Expand Down Expand Up @@ -382,7 +382,7 @@ h5_fixname_real(const char *base_name, hid_t fapl, const char *_suffix, char *fu
* For serial:
* First use the environment variable, then try the constant
*/
prefix = HDgetenv("HDF5_PREFIX");
prefix = getenv("HDF5_PREFIX");

#ifdef HDF5_PREFIX
if (!prefix)
Expand All @@ -404,8 +404,8 @@ h5_fixname_real(const char *base_name, hid_t fapl, const char *_suffix, char *fu
*/
char *user, *login;

user = HDgetenv("USER");
login = HDgetenv("LOGIN");
user = getenv("USER");
login = getenv("LOGIN");
subdir = (user ? user : login);

if (subdir) {
Expand Down Expand Up @@ -503,7 +503,7 @@ h5_using_default_driver(const char *drv_name)
assert(H5_DEFAULT_VFD == H5FD_SEC2);

if (!drv_name)
drv_name = HDgetenv(HDF5_DRIVER);
drv_name = getenv(HDF5_DRIVER);

if (drv_name)
return (!strcmp(drv_name, "sec2") || !strcmp(drv_name, "nomatch"));
Expand Down
2 changes: 1 addition & 1 deletion test/API/tfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -8260,7 +8260,7 @@ test_file(void)
MESSAGE(5, ("Testing Low-Level File I/O\n"));

/* Get the VFD to use */
env_h5_drvr = HDgetenv(HDF5_DRIVER);
env_h5_drvr = getenv(HDF5_DRIVER);
if (env_h5_drvr == NULL)
env_h5_drvr = "nomatch";

Expand Down
Loading