From 0a2d67ebdf99d159cd1df9812b9d3b4d696be6f4 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Tue, 4 Aug 2009 08:59:33 -0500 Subject: [svn-r17298] 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