summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2012-03-16 14:54:18 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2012-03-16 14:54:18 (GMT)
commite37a9c67d85025215445cee71d9242aace3244d2 (patch)
tree92204eaead60cacc1a76b45dca8c50c4e43bc33f
parente4c1c566d462eb5e3492ca3b82b0b032b9978b45 (diff)
downloadhdf5-e37a9c67d85025215445cee71d9242aace3244d2.zip
hdf5-e37a9c67d85025215445cee71d9242aace3244d2.tar.gz
hdf5-e37a9c67d85025215445cee71d9242aace3244d2.tar.bz2
[svn-r22081] Description:
Changed H5G*() to H5G*2() APIs for compatability. Tested: (jam intel, --with-default-api-version=v16)
-rw-r--r--hl/test/test_lite.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hl/test/test_lite.c b/hl/test/test_lite.c
index 7a5e43a..4b432d6 100644
--- a/hl/test/test_lite.c
+++ b/hl/test/test_lite.c
@@ -1867,7 +1867,7 @@ static int test_valid_path(void)
/*
* Create a group named "G2" in the file.
*/
- if((group = H5Gcreate(file_id, "G2", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT))<0)
+ if((group = H5Gcreate2(file_id, "G2", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT))<0)
goto out;
/*
@@ -1888,7 +1888,7 @@ static int test_valid_path(void)
/*
* Create a group named "G1" in the file.
*/
- if((group = H5Gcreate(file_id, "G1", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT))<0)
+ if((group = H5Gcreate2(file_id, "G1", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT))<0)
goto out;
/*
@@ -1908,7 +1908,7 @@ static int test_valid_path(void)
/*
* Create a group named "/G1/G2" in the file.
*/
- if((group = H5Gcreate (file_id, "/G1/G2", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT))<0)
+ if((group = H5Gcreate2(file_id, "/G1/G2", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT))<0)
goto out;
/*
@@ -1923,7 +1923,7 @@ static int test_valid_path(void)
/*
* Create a group named "/G1/G2/G6" in the file.
*/
- if((group = H5Gcreate(file_id, "/G1/G2/G6", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT))<0)
+ if((group = H5Gcreate2(file_id, "/G1/G2/G6", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT))<0)
goto out;
/*
@@ -1964,7 +1964,7 @@ static int test_valid_path(void)
/*
* Create a group named "G1" in the file.
*/
- if((group = H5Gcreate(file_id, "G1", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT))<0)
+ if((group = H5Gcreate2(file_id, "G1", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT))<0)
goto out;
/*
* Create a dataset named "G1/DS1" in the file.
@@ -2034,7 +2034,7 @@ static int test_valid_path(void)
* CHECK RELATIVE PATHS
***************************************/
- if( (group = H5Gopen(file_id, "/G1", H5P_DEFAULT)) < 0)
+ if( (group = H5Gopen2(file_id, "/G1", H5P_DEFAULT)) < 0)
goto out;
/* The identifier (file id) is the object itself, i.e. "." */