diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-08-30 15:35:30 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-08-30 15:35:30 (GMT) |
commit | cfc376080860337f8f7a6716ed50e9d123eb7176 (patch) | |
tree | 2271108962dfe22f1d39980f900e6d48d27ee07d /testpar/t_chunk_alloc.c | |
parent | 4f3950a8826a102d56cde7b57729552742af1b80 (diff) | |
download | hdf5-cfc376080860337f8f7a6716ed50e9d123eb7176.zip hdf5-cfc376080860337f8f7a6716ed50e9d123eb7176.tar.gz hdf5-cfc376080860337f8f7a6716ed50e9d123eb7176.tar.bz2 |
[svn-r21334] HDFFV-7687: add HD macro prefrix to functions and use h5_stat_t where necessary
reviewed
Diffstat (limited to 'testpar/t_chunk_alloc.c')
-rw-r--r-- | testpar/t_chunk_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/t_chunk_alloc.c b/testpar/t_chunk_alloc.c index bb13d4e..e8a6ca4 100644 --- a/testpar/t_chunk_alloc.c +++ b/testpar/t_chunk_alloc.c @@ -37,7 +37,7 @@ get_filesize(const char *filename) MPI_File fd; MPI_Offset filesize; #ifndef H5_HAVE_MPI_GET_SIZE - struct stat stat_buf; + h5_stat_t stat_buf; #endif #ifdef H5_HAVE_MPI_GET_SIZE @@ -54,7 +54,7 @@ get_filesize(const char *filename) /* Some systems (only SGI Altix Propack 4 so far) doesn't return correct * file size for MPI_File_get_size. Use stat instead. */ - if((mpierr=stat(filename, &stat_buf))<0) + if((mpierr=HDstat(filename, &stat_buf))<0) VRFY((mpierr == MPI_SUCCESS), ""); /* Hopefully this casting is safe */ |