summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2009-06-18 20:08:44 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2009-06-18 20:08:44 (GMT)
commit575467d3244d8e664b61f8cf03bcd7d04a7c8145 (patch)
treefd0fff436d836dbed7dc4ab7dfdc831fbc2433e1 /fortran
parentb417362702440d4a7a2052ba9c76f23230c96265 (diff)
downloadhdf5-575467d3244d8e664b61f8cf03bcd7d04a7c8145.zip
hdf5-575467d3244d8e664b61f8cf03bcd7d04a7c8145.tar.gz
hdf5-575467d3244d8e664b61f8cf03bcd7d04a7c8145.tar.bz2
[svn-r17087] Description:
changed LEN to LEN_TRIM tested: smirom
Diffstat (limited to 'fortran')
-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)