From fce396c5a7907a5f1acedd2c4ba9c0915acc6129 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 21 Apr 2003 17:43:12 -0500 Subject: [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: --- src/H5F.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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. * *------------------------------------------------------------------------- */ -- cgit v0.12