diff options
author | myang6 <myang6@hdfgroup.org> | 2021-10-25 19:51:28 (GMT) |
---|---|---|
committer | myang6 <myang6@hdfgroup.org> | 2021-10-25 19:51:28 (GMT) |
commit | 09e891477e3946e48d2216e06aca150ad5f2ddb3 (patch) | |
tree | 6c37cc6c9f593b6046b2d4a9a8ef66c6c58b65cb /src/H5Fint.c | |
parent | d89fb6e09c0e4c8470a919082ac292c8d23c8fab (diff) | |
download | hdf5-09e891477e3946e48d2216e06aca150ad5f2ddb3.zip hdf5-09e891477e3946e48d2216e06aca150ad5f2ddb3.tar.gz hdf5-09e891477e3946e48d2216e06aca150ad5f2ddb3.tar.bz2 |
Update comments, formats etc.
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r-- | src/H5Fint.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c index 04e913e..f6b4e1a 100644 --- a/src/H5Fint.c +++ b/src/H5Fint.c @@ -2013,9 +2013,10 @@ H5F_open(const char *name, unsigned flags, hid_t fcpl_id, hid_t fapl_id) /* Short cuts */ shared = file->shared; -#if 1 /* Kent*/ + + /* Set up the VFD SWMR LOG file */ + /* Kent*/ if (vfd_swmr_config_ptr->version) { - if (HDstrlen(vfd_swmr_config_ptr->log_file_path) > 0) shared->vfd_swmr_log_on = TRUE; if (TRUE == shared->vfd_swmr_log_on) { @@ -2026,7 +2027,8 @@ H5F_open(const char *name, unsigned flags, hid_t fcpl_id, hid_t fapl_id) HGOTO_ERROR(H5E_FILE, H5E_CANTGET, NULL, "can't get time via clock_gettime"); } } -#endif + /* End of Kent */ + lf = shared->lf; /* Set the file locking flag. If the file is already open, the file @@ -2224,8 +2226,7 @@ H5F_open(const char *name, unsigned flags, hid_t fcpl_id, hid_t fapl_id) /* Success */ ret_value = file; -#if 1 /*KENT*/ - // H5F_post_vfd_swmr_log_entry(file, 0, "File open ends"); +#if 1 /*Kent: write to the log file when H5F_open ends. Tested, now comment out.*/ H5F_POST_VFD_SWMR_LOG_ENTRY(file, 0, "File open ends") #endif done: |