From 5debc601820d1151bd0a45a8176aa412536a896e Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Mon, 3 Aug 2009 08:07:31 -0500 Subject: [svn-r17295] Specified HDTarray_create and HDCreate as HDTarray_create2 and HDCreate2 in gent_array8 function as was done in other gent_arrayX functions. Fixes 1.6 compatibility mode argument errors. Tested: linux --- tools/h5dump/h5dumpgentest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/h5dump/h5dumpgentest.c b/tools/h5dump/h5dumpgentest.c index 2d4a620..c0d5801 100644 --- a/tools/h5dump/h5dumpgentest.c +++ b/tools/h5dump/h5dumpgentest.c @@ -2849,7 +2849,7 @@ static void gent_array8(void) /* * Create array datatypes for file and memory. */ - filetype = H5Tarray_create (H5T_NATIVE_INT, 1, tdims); + filetype = H5Tarray_create2 (H5T_NATIVE_INT, 1, tdims); /* * Create dataspace. Setting maximum size to NULL sets the maximum @@ -2861,7 +2861,7 @@ static void gent_array8(void) * Create the dataset and write the array data to it. */ if(file>=0 && filetype>=0 && space>=0) { - dset = H5Dcreate (file, F64_DATASET, filetype, space, H5P_DEFAULT, H5P_DEFAULT, + dset = H5Dcreate2 (file, F64_DATASET, filetype, space, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); if(dset>=0) status = H5Dwrite (dset, filetype, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata); -- cgit v0.12