summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/h5dumpgentest.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2009-08-03 13:07:31 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2009-08-03 13:07:31 (GMT)
commit5debc601820d1151bd0a45a8176aa412536a896e (patch)
tree48a46aba334b982c71b1c7d60107926af06a96d6 /tools/h5dump/h5dumpgentest.c
parent912e1bb15c5f23b130ed1398b1ce24d36bbab8f4 (diff)
downloadhdf5-5debc601820d1151bd0a45a8176aa412536a896e.zip
hdf5-5debc601820d1151bd0a45a8176aa412536a896e.tar.gz
hdf5-5debc601820d1151bd0a45a8176aa412536a896e.tar.bz2
[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
Diffstat (limited to 'tools/h5dump/h5dumpgentest.c')
-rw-r--r--tools/h5dump/h5dumpgentest.c4
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);