summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5Eff.F90
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2016-06-16 16:54:45 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2016-06-16 16:54:45 (GMT)
commita82edeb89b88e359cef1f2e0c1a8bd6812ca63b6 (patch)
tree8a303b30d0f2183491da98fe23c7fb07eaf6bdce /fortran/src/H5Eff.F90
parent0c2964383b43ee81be6119fefd9fccb07b0de9b1 (diff)
downloadhdf5-a82edeb89b88e359cef1f2e0c1a8bd6812ca63b6.zip
hdf5-a82edeb89b88e359cef1f2e0c1a8bd6812ca63b6.tar.gz
hdf5-a82edeb89b88e359cef1f2e0c1a8bd6812ca63b6.tar.bz2
[svn-r30085] changed from CHARACTER to CHARACTER(LEN=*), and moved the LEN of an optional argument into the optional check loop.
Diffstat (limited to 'fortran/src/H5Eff.F90')
-rw-r--r--fortran/src/H5Eff.F903
1 files changed, 2 insertions, 1 deletions
diff --git a/fortran/src/H5Eff.F90 b/fortran/src/H5Eff.F90
index 7a0b15b..4198321 100644
--- a/fortran/src/H5Eff.F90
+++ b/fortran/src/H5Eff.F90
@@ -141,8 +141,9 @@ CONTAINS
INTEGER FUNCTION h5eprint_c2() BIND(C,NAME='h5eprint_c2')
END FUNCTION h5eprint_c2
END INTERFACE
- namelen = LEN(NAME)
+
IF (PRESENT(name)) THEN
+ namelen = LEN(NAME)
hdferr = h5eprint_c1(name, namelen)
ELSE
hdferr = h5eprint_c2()