summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_str.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-02-24 14:27:57 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-02-24 14:27:57 (GMT)
commit944f2cdf8d7f3d665ac9e72fe2267826e8abb047 (patch)
tree174208cdb4d09a569f111fee490eee8009dbb93a /tools/lib/h5tools_str.c
parentb2ec30bfe350f37fcd69d97f8a7cdd7367d06b6a (diff)
downloadhdf5-944f2cdf8d7f3d665ac9e72fe2267826e8abb047.zip
hdf5-944f2cdf8d7f3d665ac9e72fe2267826e8abb047.tar.gz
hdf5-944f2cdf8d7f3d665ac9e72fe2267826e8abb047.tar.bz2
[svn-r21979] Correct HD prefix in tools for strlen and memcpy
Checked for HD support.
Diffstat (limited to 'tools/lib/h5tools_str.c')
-rw-r--r--tools/lib/h5tools_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c
index c3fbb1b..846c01b 100644
--- a/tools/lib/h5tools_str.c
+++ b/tools/lib/h5tools_str.c
@@ -157,7 +157,7 @@ h5tools_str_append(h5tools_str_t *str/*in,out*/, const char *fmt, ...)
*/
if (nchars < 0
#ifndef H5_VSNPRINTF_WORKS
- && (strlen(str->s) < str->nalloc)
+ && (HDstrlen(str->s) < str->nalloc)
#endif
) {
/* failure, such as bad format */