Commit edf65f01 authored by peter@mysql.com's avatar peter@mysql.com

Merge mysql.com:/home/pz/mysql/mysql-4.0-root

into mysql.com:/home/pz/mysql/mysql-4.0
parents 1bb7665a 21cb8e76
......@@ -45,8 +45,11 @@ void caseup_str(my_string str)
}
else
#endif
while ((*str = toupper(*str)) != 0)
while (*str!=0) /* iterate till the end of string */
{
*str= toupper(*str);
str++;
}
} /* caseup_str */
/* string to lowercase */
......@@ -66,8 +69,11 @@ void casedn_str(my_string str)
}
else
#endif
while ((*str= tolower(*str)) != 0)
while (*str!=0) /* iterate till the end of string */
{
*str= tolower(*str);
str++;
}
} /* casedn_str */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment