summaryrefslogtreecommitdiffstats
path: root/fortran/test/fflush1.f90
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2004-04-15 21:59:05 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2004-04-15 21:59:05 (GMT)
commit508b06e28609af97be50591b49066381957e9c4e (patch)
treecf889684fc36977ce9df2b9e3310b9372c26c085 /fortran/test/fflush1.f90
parentda3f980be5516deea598cb1a11f79ef1c20c9257 (diff)
downloadhdf5-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/fflush1.f90')
-rw-r--r--fortran/test/fflush1.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/test/fflush1.f90 b/fortran/test/fflush1.f90
index c318bb9..cede399 100644
--- a/fortran/test/fflush1.f90
+++ b/fortran/test/fflush1.f90
@@ -82,7 +82,7 @@
!data buffers
!
INTEGER, DIMENSION(NX,NY) :: data_in, data_out
- INTEGER, DIMENSION(7) :: data_dims
+ INTEGER(HSIZE_T), DIMENSION(7) :: data_dims
data_dims(1) = NX
data_dims(2) = NY
@@ -145,7 +145,7 @@
! if errors detected, exit with non-zero code. This is not truly fortran
! standard but likely supported by most fortran compilers.
- IF (total_error .ne. 0) CALL exit (total_error)
+! IF (total_error .ne. 0) CALL exit (total_error)
001 STOP