diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2020-10-09 14:17:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-09 14:17:31 (GMT) |
commit | d4b1ee1d861686b97a887f47ff3857e338d3f690 (patch) | |
tree | 8e0de772d9992287c1b169fb3fdaee624ab63844 /src/H5Ddeprec.c | |
parent | 29874423bf155e23cfdc1920336c91674865f417 (diff) | |
parent | d62e0753021df5510b97b38aa632ba570ca84275 (diff) | |
download | hdf5-d4b1ee1d861686b97a887f47ff3857e338d3f690.zip hdf5-d4b1ee1d861686b97a887f47ff3857e338d3f690.tar.gz hdf5-d4b1ee1d861686b97a887f47ff3857e338d3f690.tar.bz2 |
Merge pull request #30 from byrnHDF/hdf5_1_12
Hdf5 1 12 merge changes from develop
Diffstat (limited to 'src/H5Ddeprec.c')
-rw-r--r-- | src/H5Ddeprec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Ddeprec.c b/src/H5Ddeprec.c index db345c1..a091152 100644 --- a/src/H5Ddeprec.c +++ b/src/H5Ddeprec.c @@ -137,13 +137,13 @@ H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t if (NULL == (vol_obj = H5VL_vol_object(loc_id))) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5I_INVALID_HID, "invalid location identifier") - /* Create the dataset through the VOL */ + /* Create the dataset */ if (NULL == (dset = H5VL_dataset_create(vol_obj, &loc_params, name, H5P_LINK_CREATE_DEFAULT, type_id, space_id, dcpl_id, H5P_DATASET_ACCESS_DEFAULT, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL))) HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, H5I_INVALID_HID, "unable to create dataset") - /* Get an atom for the dataset */ + /* Register the new dataset to get an ID for it */ if ((ret_value = H5VL_register(H5I_DATASET, dset, vol_obj->connector, TRUE)) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTREGISTER, H5I_INVALID_HID, "unable to register dataset") |