From e37a9c67d85025215445cee71d9242aace3244d2 Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Fri, 16 Mar 2012 09:54:18 -0500 Subject: [svn-r22081] Description: Changed H5G*() to H5G*2() APIs for compatability. Tested: (jam intel, --with-default-api-version=v16) --- hl/test/test_lite.c | 12 ++++++------ 1 file 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. "." */ -- cgit v0.12