summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-04-14 05:05:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-04-14 05:05:46 (GMT)
commit7e0748de229a4636f75809ed88ca93e7dababf81 (patch)
treea119b3668dda987b76805a3d3ee59aefa226007d /src/H5D.c
parentaa1cedb4f8b57fa73ab385d6316073a497410244 (diff)
downloadhdf5-7e0748de229a4636f75809ed88ca93e7dababf81.zip
hdf5-7e0748de229a4636f75809ed88ca93e7dababf81.tar.gz
hdf5-7e0748de229a4636f75809ed88ca93e7dababf81.tar.bz2
[svn-r6659] Purpose:
New feature, sorta Description: Track changes to various internal APIs Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ Linux 2.4 (burrwhite) w/FORTRAN Solaris 2.7 (arabica) w/FORTRAN IRIX64 6.5 (modi4) w/parallel & FORTRAN (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 9704d0d..36b80d1 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -2406,10 +2406,11 @@ H5D_close(H5D_t *dataset)
} /* end if */
/* Remove the dataset from the list of opened objects in the file */
- if(H5FO_delete(dataset->ent.file,dataset->ent.header)<0)
+ if(H5FO_delete(dataset->ent.file, H5AC_dxpl_id, dataset->ent.header)<0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTRELEASE, FAIL, "can't remove dataset from list of open objects");
/* Close the dataset object */
+ /* (This closes the file, if this is the last object open) */
H5O_close(&(dataset->ent));
/*
@@ -4441,7 +4442,7 @@ done:
/*-------------------------------------------------------------------------
* Function: H5D_flush
*
- * Purpose: Flush any compact datasets cached in memory
+ * Purpose: Flush any dataset information cached in memory
*
* Return: Success: Non-negative
* Failure: Negative
@@ -4451,7 +4452,7 @@ done:
*
* Date: August 14, 2002
*
- * Comments: Private function
+ * Comments: Just flushing the compact data information currently.
*
* Modifications:
*