summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5diff_common.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-02-24 15:32:36 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-02-24 15:32:36 (GMT)
commitcec338c647aa3dc46f93800c1263f6a75b2c6728 (patch)
tree0529df140d6eb7c25e11905a3cb2126e0ca75af8 /tools/h5diff/h5diff_common.c
parent5b1c9ffe2d7ba0dd906836cb844c7504aa96aa58 (diff)
downloadhdf5-cec338c647aa3dc46f93800c1263f6a75b2c6728.zip
hdf5-cec338c647aa3dc46f93800c1263f6a75b2c6728.tar.gz
hdf5-cec338c647aa3dc46f93800c1263f6a75b2c6728.tar.bz2
[svn-r21981] Correct HD prefix in tools for fprintf
Checked for HD support.
Diffstat (limited to 'tools/h5diff/h5diff_common.c')
-rw-r--r--tools/h5diff/h5diff_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5diff/h5diff_common.c b/tools/h5diff/h5diff_common.c
index 35c3956..f7532f2 100644
--- a/tools/h5diff/h5diff_common.c
+++ b/tools/h5diff/h5diff_common.c
@@ -355,7 +355,7 @@ check_n_input( const char *str )
unsigned i;
char c;
- for ( i = 0; i < HDstrlen(str); i++)
+ for ( i = 0; i < strlen(str); i++)
{
c = str[i];
if ( i==0 )
@@ -394,7 +394,7 @@ check_p_input( const char *str )
the atof return value on a hexadecimal input is different
on some systems; we do a character check for this
*/
- if (HDstrlen(str)>2 && str[0]=='0' && str[1]=='x')
+ if (strlen(str)>2 && str[0]=='0' && str[1]=='x')
return -1;
x=atof(str);
@@ -428,7 +428,7 @@ check_d_input( const char *str )
the atof return value on a hexadecimal input is different
on some systems; we do a character check for this
*/
- if (HDstrlen(str)>2 && str[0]=='0' && str[1]=='x')
+ if (strlen(str)>2 && str[0]=='0' && str[1]=='x')
return -1;
x=atof(str);