diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2000-11-27 23:01:48 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2000-11-27 23:01:48 (GMT) |
commit | 0726621eaa2c3423c8d8969fae314af54e902604 (patch) | |
tree | 550e6ebf64bf191fdc21633ee760759b9c2f9950 /test/overhead.c | |
parent | e7b7e14a88f37a6d348e62abf10765059383d645 (diff) | |
download | hdf5-0726621eaa2c3423c8d8969fae314af54e902604.zip hdf5-0726621eaa2c3423c8d8969fae314af54e902604.tar.gz hdf5-0726621eaa2c3423c8d8969fae314af54e902604.tar.bz2 |
[svn-r3005] Purpose:
Backward compatibility code
Description:
Add in code to allow the library to emulate the v1.2 API and behavior.
Platforms tested:
FreeBSD 4.2 (hawkwind)
Diffstat (limited to 'test/overhead.c')
-rw-r--r-- | test/overhead.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/overhead.c b/test/overhead.c index 0fff576..2e1dd23 100644 --- a/test/overhead.c +++ b/test/overhead.c @@ -199,7 +199,7 @@ test(fill_t fill_style, const double splits[], } if ((dcpl=H5Pcreate(H5P_DATASET_CREATE))<0) goto error; if (H5Pset_chunk(dcpl, 1, ch_size)<0) goto error; - if ((xfer=H5Pcreate(H5P_DATA_XFER))<0) goto error; + if ((xfer=H5Pcreate(H5P_DATASET_XFER))<0) goto error; if (H5Pset_btree_ratios(xfer, splits[0], splits[1], splits[2])<0) { goto error; } @@ -335,7 +335,7 @@ main(int argc, char *argv[]) /* Default split ratios */ H5Eset_auto(display_error_cb, NULL); - if ((xfer=H5Pcreate(H5P_DATA_XFER))<0) goto error; + if ((xfer=H5Pcreate(H5P_DATASET_XFER))<0) goto error; if (H5Pget_btree_ratios(xfer, splits+0, splits+1, splits+2)<0) { goto error; } |