diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2009-08-04 13:59:33 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2009-08-04 13:59:33 (GMT) |
commit | 0a2d67ebdf99d159cd1df9812b9d3b4d696be6f4 (patch) | |
tree | f7bc7cbea95e8257d423134d365f37b39181ea14 /tools/h5dump | |
parent | ab23b452590d911e0b0ce1bcac622258d5c8d103 (diff) | |
download | hdf5-0a2d67ebdf99d159cd1df9812b9d3b4d696be6f4.zip hdf5-0a2d67ebdf99d159cd1df9812b9d3b4d696be6f4.tar.gz hdf5-0a2d67ebdf99d159cd1df9812b9d3b4d696be6f4.tar.bz2 |
[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
Diffstat (limited to 'tools/h5dump')
-rw-r--r-- | tools/h5dump/h5dumpgentest.c | 4 |
1 files 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); |