mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
merged ejh_hdf5_sep_file_info
This commit is contained in:
commit
f443facac5
@ -48,6 +48,7 @@ nc4_create_file(const char *path, int cmode, size_t initialsz,
|
||||
int retval = NC_NOERR;
|
||||
NC_FILE_INFO_T* nc4_info = NULL;
|
||||
NC_HDF5_FILE_INFO_T *hdf5_info;
|
||||
|
||||
#ifdef USE_PARALLEL4
|
||||
NC_MPI_INFO *mpiinfo = NULL;
|
||||
MPI_Comm comm;
|
||||
|
@ -228,6 +228,7 @@ dumpopenobjects(NC_FILE_INFO_T* h5)
|
||||
hdf5_info = (NC_HDF5_FILE_INFO_T *)h5->format_file_info;
|
||||
|
||||
nobjs = H5Fget_obj_count(hdf5_info->hdfid, H5F_OBJ_ALL);
|
||||
|
||||
/* Apparently we can get an error even when nobjs == 0 */
|
||||
if(nobjs < 0) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user