summaryrefslogtreecommitdiffstats
path: root/src/H5Dint.c
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2020-04-06 23:52:20 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2020-04-06 23:52:20 (GMT)
commitb3e966e33d8eeeecfc785fe181ad11e94dc4040b (patch)
tree075c39af9042e02e50c7777442b474f3ae19040f /src/H5Dint.c
parentafdcac28b85d690eebc80ab568fa5266081baaaa (diff)
parentf6514c35ea3786206a8db73e1cad8fce8fe6a715 (diff)
downloadhdf5-b3e966e33d8eeeecfc785fe181ad11e94dc4040b.zip
hdf5-b3e966e33d8eeeecfc785fe181ad11e94dc4040b.tar.gz
hdf5-b3e966e33d8eeeecfc785fe181ad11e94dc4040b.tar.bz2
Merge pull request #29 in ~VCHOI/my_third_fork from develop to bugfix/dtype_close_on_error
* commit 'f6514c35ea3786206a8db73e1cad8fce8fe6a715': (48 commits) Updated test ddl files so CMake passes after h5dump failures. Narrowed the scope of ISO_C_BINDING with ONLY additions Skip testing of passthrough VOL connector in a Family File tools test Restore previous tools library driver name behavior with passthrough VOL connector Updated tools dump output when dataset offset is undefined. Fixed unnecessary H5R casts in the tools that were raising warnings. Added checks for native optional call support in some of the tools. Changed default dataset shared struct to initialize hid_t IDs to H5I_INVALID_HID. Correct extra flags Modifications based on PR review feedback. Minor renaming in the tools code. Misc changes for h5dump VOL changes. Fix for HDFFV-11065. Fix latent bug in h5repack options file reading Add 'enable-error-stack' option to h5format_convert TRILAB-192 remove comment Minor renaming in h5dump (addr --> token) TRILAB-192 add comparable clang flags Fix some missing symbols issues in tools library A few small tweaks to the tools from review Replace usage of some standard library functions with HD- versions ...
Diffstat (limited to 'src/H5Dint.c')
-rw-r--r--src/H5Dint.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5Dint.c b/src/H5Dint.c
index 173ae3f..954b619 100644
--- a/src/H5Dint.c
+++ b/src/H5Dint.c
@@ -207,6 +207,9 @@ H5D__init_package(void)
/* Reset the "default dataset" information */
HDmemset(&H5D_def_dset, 0, sizeof(H5D_shared_t));
+ H5D_def_dset.type_id = H5I_INVALID_HID;
+ H5D_def_dset.dapl_id = H5I_INVALID_HID;
+ H5D_def_dset.dcpl_id = H5I_INVALID_HID;
/* Get the default dataset creation property list values and initialize the
* default dataset with them.
@@ -2560,7 +2563,7 @@ done:
/*-------------------------------------------------------------------------
* Function: H5D__get_offset
*
- * Purpose: Private function for H5D__get_offset. Returns the address
+ * Purpose: Private function for H5Dget_offset(). Returns the address
* of dataset in file.
*
* Return: Success: The address of dataset