diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-12-05 16:12:32 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-12-05 16:12:32 (GMT) |
commit | a9c747deba6e588b2ec5bc624a53c976a9faa3bc (patch) | |
tree | 4a9c1f2c4f2b383a62e2f9e8b87ab3ef154f810c /test | |
parent | 2167e3c495aada1c47375cdf923d26c583dce768 (diff) | |
download | hdf5-a9c747deba6e588b2ec5bc624a53c976a9faa3bc.zip hdf5-a9c747deba6e588b2ec5bc624a53c976a9faa3bc.tar.gz hdf5-a9c747deba6e588b2ec5bc624a53c976a9faa3bc.tar.bz2 |
[svn-r4669] Purpose:
Backward Compatibility Fix
Description:
One of H5P[gs]et_cache's parameters changed between v1.4 and the development
branch.
Solution:
Added v1.4 compat stuff around H5P[gs]et_cache implementation and testing
to allow v1.4.x users to continue to use their source code without
modification.
These changes are for everything except the FORTRAN wrappers - I spoke with
Elena and she will make the FORTRAN wrapper changes.
Platforms tested:
FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'test')
-rw-r--r-- | test/tselect.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tselect.c b/test/tselect.c index 785d8be..0250786 100644 --- a/test/tselect.c +++ b/test/tselect.c @@ -3710,7 +3710,11 @@ test_select(void) hid_t plist_id; /* Property list for reading random hyperslabs */ hid_t fapl; /* Property list accessing the file */ int mdc_nelmts; /* Metadata number of elements */ +#ifdef H5_WANT_H5_V1_4_COMPAT + int rdcc_nelmts; /* Raw data number of elements */ +#else /* H5_WANT_H5_V1_4_COMPAT */ size_t rdcc_nelmts; /* Raw data number of elements */ +#endif /* H5_WANT_H5_V1_4_COMPAT */ size_t rdcc_nbytes; /* Raw data number of bytes */ double rdcc_w0; /* Raw data write percentage */ herr_t ret; /* Generic return value */ |