diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-10-09 03:52:46 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-10-09 03:52:46 (GMT) |
commit | 261bbe39aac2cf13e2cd539520c3329e1df6d452 (patch) | |
tree | 0fcbcd9c19ae366fe6ac7e0216f5f753fd46117e /test/tfile.c | |
parent | 37aaef8fe09017234e163bc78f617d0676ca2072 (diff) | |
download | hdf5-261bbe39aac2cf13e2cd539520c3329e1df6d452.zip hdf5-261bbe39aac2cf13e2cd539520c3329e1df6d452.tar.gz hdf5-261bbe39aac2cf13e2cd539520c3329e1df6d452.tar.bz2 |
[svn-r15826] Description:
Bring revision 15825 from trunk:
Fix various problems with a the core & sec2 VFDs.
Improve the h5_get_file_size() routine to handle files created with
VFDs that use multiple files.
Tested on:
FreeBSD/32 6.3 (duty)
Already tested on other machine, in trunk.
Diffstat (limited to 'test/tfile.c')
-rw-r--r-- | test/tfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tfile.c b/test/tfile.c index b5f024c..2afade3 100644 --- a/test/tfile.c +++ b/test/tfile.c @@ -1212,7 +1212,7 @@ test_file_freespace(void) CHECK_I(ret, "H5Fclose"); /* Get the "empty" file size */ - empty_filesize = h5_get_file_size(FILE1); + empty_filesize = h5_get_file_size(FILE1, H5P_DEFAULT); /* Re-open the file (with read-write permission) */ file = H5Fopen(FILE1, H5F_ACC_RDWR, H5P_DEFAULT); @@ -1275,7 +1275,7 @@ test_file_freespace(void) CHECK(ret, FAIL, "H5Fclose"); /* Get the file size after modifications*/ - mod_filesize = h5_get_file_size(FILE1); + mod_filesize = h5_get_file_size(FILE1, H5P_DEFAULT); /* Check that the file reverted to empty size */ VERIFY(mod_filesize, empty_filesize, "H5Fget_freespace"); |