diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2004-04-15 21:59:05 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2004-04-15 21:59:05 (GMT) |
commit | 508b06e28609af97be50591b49066381957e9c4e (patch) | |
tree | cf889684fc36977ce9df2b9e3310b9372c26c085 /fortran/test/tH5S.f90 | |
parent | da3f980be5516deea598cb1a11f79ef1c20c9257 (diff) | |
download | hdf5-508b06e28609af97be50591b49066381957e9c4e.zip hdf5-508b06e28609af97be50591b49066381957e9c4e.tar.gz hdf5-508b06e28609af97be50591b49066381957e9c4e.tar.bz2 |
[svn-r8357]
Purpose: Maintenance
Description: Fortran functions h5dwrite/read_f and h5awrite/read_f
were overloaded with the dims parameter being of type
INTEGER. It was a design flaw. dims should be of type
INTEGER(HSIZE_T). Overloading was done to assure backward
compatibility of 1.4.* branch with hdf5 1.2.* branch.
We promised to remove the old function with INTEGER dims
in 1.6.0. It was removed from the documentation but
was not removed from the source code.
Solution: Finally cleaned up the code.
Platforms tested: Windows 2000 with DEC Fortran, LInux with Intel Fortran,
Solaris 2.7 32/64-bit mode.
Misc. update:
Diffstat (limited to 'fortran/test/tH5S.f90')
-rw-r--r-- | fortran/test/tH5S.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/test/tH5S.f90 b/fortran/test/tH5S.f90 index 49e1f1f..6f9ee8a 100644 --- a/fortran/test/tH5S.f90 +++ b/fortran/test/tH5S.f90 @@ -58,7 +58,7 @@ LOGICAL :: flag !flag to test datyspace is simple or not INTEGER :: i, j !general purpose integers - INTEGER, DIMENSION(7) :: data_dims + INTEGER(HSIZE_T), DIMENSION(2) :: data_dims ! ! Initialize the dset_data array. |