summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-04-21 22:43:12 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-04-21 22:43:12 (GMT)
commitfce396c5a7907a5f1acedd2c4ba9c0915acc6129 (patch)
tree59ee6310458680e06b765bb41a0bfc64ace9baa4
parentbdaf33ca5a24edbcb3423e34e1e66c090da31cda (diff)
downloadhdf5-fce396c5a7907a5f1acedd2c4ba9c0915acc6129.zip
hdf5-fce396c5a7907a5f1acedd2c4ba9c0915acc6129.tar.gz
hdf5-fce396c5a7907a5f1acedd2c4ba9c0915acc6129.tar.bz2
[svn-r6724] Purpose:
Commenting Description: Added comments to the H5Fget_access_plist function to remind people that if they are going to be overwriting a value in the plist which was originally opened and inserted into the plist, then it should be closed before overwriting that value. Platforms tested: Modi4 (Only comment change, so no h5committest needed). Misc. update:
-rw-r--r--src/H5F.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/H5F.c b/src/H5F.c
index bfd0586..b951e54 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -840,6 +840,11 @@ done:
* Purpose: Returns a copy of the file access property list of the
* specified file.
*
+ * NOTE: Make sure that, if you are going to overwrite
+ * information in the copied property list that was
+ * previously opened and assigned to the property list, then
+ * you must close it before overwriting the values.
+ *
* Return: Success: Object ID for a copy of the file access
* property list.
*
@@ -852,6 +857,11 @@ done:
* Raymond Lu, Oct 23, 2001
* Changed file access property list to the new generic
* property list.
+ *
+ * Bill Wendling, Apr 21, 2003
+ * Fixed bug where the driver ID and info in the property
+ * list were being overwritten but the original ID and info
+ * weren't being close.
*
*-------------------------------------------------------------------------
*/