summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5Fff.f90
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-07-02 19:22:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-07-02 19:22:12 (GMT)
commit918973d9fc5b96cd559546eb5e09c87542ce598d (patch)
tree50901a0e86600485efe4bb15087b142092c83673 /fortran/src/H5Fff.f90
parent763e6be682e7da0697063b7fea788de5d8580a45 (diff)
downloadhdf5-918973d9fc5b96cd559546eb5e09c87542ce598d.zip
hdf5-918973d9fc5b96cd559546eb5e09c87542ce598d.tar.gz
hdf5-918973d9fc5b96cd559546eb5e09c87542ce598d.tar.bz2
[svn-r17143] Description:
Bring r17084:17142 from trunk to revise_chunks brach Tested on: FreeBSD/32 6.3 (duty) (h5committest not required on this branch)
Diffstat (limited to 'fortran/src/H5Fff.f90')
-rw-r--r--fortran/src/H5Fff.f903
1 files changed, 2 insertions, 1 deletions
diff --git a/fortran/src/H5Fff.f90 b/fortran/src/H5Fff.f90
index 5d76865..43c7c8f 100644
--- a/fortran/src/H5Fff.f90
+++ b/fortran/src/H5Fff.f90
@@ -91,7 +91,8 @@
if (present(creation_prp)) creation_prp_default = creation_prp
if (present(access_prp)) access_prp_default = access_prp
- namelen = LEN(name)
+ namelen = LEN_TRIM(name)
+
hdferr = h5fcreate_c(name, namelen, access_flags, &
creation_prp_default, access_prp_default, file_id)