[svn-r21979] Correct HD prefix in tools for strlen and memcpy

Checked for HD support.
This commit is contained in:
Allen Byrne
2012-02-24 09:27:57 -05:00
parent b2ec30bfe3
commit 944f2cdf8d
9 changed files with 207 additions and 207 deletions

View File

@@ -355,7 +355,7 @@ check_n_input( const char *str )
unsigned i;
char c;
for ( i = 0; i < strlen(str); i++)
for ( i = 0; i < HDstrlen(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 (strlen(str)>2 && str[0]=='0' && str[1]=='x')
if (HDstrlen(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 (strlen(str)>2 && str[0]=='0' && str[1]=='x')
if (HDstrlen(str)>2 && str[0]=='0' && str[1]=='x')
return -1;
x=atof(str);