summaryrefslogtreecommitdiffstats
path: root/test/h5test.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2006-04-20 06:09:51 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2006-04-20 06:09:51 (GMT)
commit7e5de2473bb2bf780a69995665e2df091c8df9cf (patch)
tree58f680a4af603a981b59c3334689a13f8f792faa /test/h5test.h
parent57a2e33c57a54939fb5e2feadb077fa5ba8f3de1 (diff)
downloadhdf5-7e5de2473bb2bf780a69995665e2df091c8df9cf.zip
hdf5-7e5de2473bb2bf780a69995665e2df091c8df9cf.tar.gz
hdf5-7e5de2473bb2bf780a69995665e2df091c8df9cf.tar.bz2
[svn-r12286] Purpose: Fix bug
Description: The file size test in C++ library failed on Copper because the value returned by h5_get_file_size was intepreted incorrectly due to different interger sizes. Solution: H5private.h: Added check to use stat64 and off64_t where appropriate. h5test.c and h5test.h: used h5_stat_size_t in place of off_t. tattr.cpp: used h5_stat_size_t in place of off_t. Platforms tested: Linux 2.4 (heping) AIX 5.1 (copper) SunOS 5.8 64-bit (sol) - still on going
Diffstat (limited to 'test/h5test.h')
-rw-r--r--test/h5test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/h5test.h b/test/h5test.h
index a21ccdc..c065c34 100644
--- a/test/h5test.h
+++ b/test/h5test.h
@@ -128,7 +128,7 @@ H5TEST_DLL hid_t h5_fileaccess(void);
H5TEST_DLL void h5_no_hwconv(void);
H5TEST_DLL void h5_reset(void);
H5TEST_DLL void h5_show_hostname(void);
-H5TEST_DLL off_t h5_get_file_size(const char *filename);
+H5TEST_DLL h5_stat_size_t h5_get_file_size(const char *filename);
H5TEST_DLL int print_func(const char *format, ...);
/* Routines for operating on the list of tests (for the "all in one" tests) */