summaryrefslogtreecommitdiffstats
path: root/src/H5Fquery.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2016-04-15 16:11:52 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2016-04-15 16:11:52 (GMT)
commit88dbe657cf1e0975e7a837b90d39e11566f7bfb3 (patch)
tree002c2e760ae699e17203b7f9f79019a3fb84bc6e /src/H5Fquery.c
parent257689f6b4511ed3031d08d638550aa2e864d294 (diff)
parent18e360b9fa7fdce30a25d62a7139b9e69c56bf01 (diff)
downloadhdf5-inactive/multi_rd_wd_coll_io.zip
hdf5-inactive/multi_rd_wd_coll_io.tar.gz
hdf5-inactive/multi_rd_wd_coll_io.tar.bz2
[svn-r29709] another merge from trunk.inactive/multi_rd_wd_coll_io
Diffstat (limited to 'src/H5Fquery.c')
-rw-r--r--src/H5Fquery.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/H5Fquery.c b/src/H5Fquery.c
index e9af300..dd6e8e3 100644
--- a/src/H5Fquery.c
+++ b/src/H5Fquery.c
@@ -779,23 +779,22 @@ H5F_gc_ref(const H5F_t *f)
/*-------------------------------------------------------------------------
- * Function: H5F_use_latest_format
+ * Function: H5F_use_latest_flags
*
- * Purpose: Retrieve the 'use the latest version of the format' flag for
- * the file.
+ * Purpose: Retrieve the 'latest version support' for the file.
*
- * Return: Success: Non-negative, the 'use the latest format' flag
+ * Return: Success: Non-negative, the requested 'version support'
*
* Failure: (can't happen)
*
* Programmer: Quincey Koziol
* koziol@hdfgroup.org
- * Oct 2 2006
+ * Mar 5 2007
*
*-------------------------------------------------------------------------
*/
-hbool_t
-H5F_use_latest_format(const H5F_t *f)
+unsigned
+H5F_use_latest_flags(const H5F_t *f, unsigned fl)
{
/* Use FUNC_ENTER_NOAPI_NOINIT_NOERR here to avoid performance issues */
FUNC_ENTER_NOAPI_NOINIT_NOERR
@@ -803,8 +802,8 @@ H5F_use_latest_format(const H5F_t *f)
HDassert(f);
HDassert(f->shared);
- FUNC_LEAVE_NOAPI(f->shared->latest_format)
-} /* end H5F_use_latest_format() */
+ FUNC_LEAVE_NOAPI(f->shared->latest_flags & (fl))
+} /* end H5F_use_latest_flags() */
/*-------------------------------------------------------------------------