summaryrefslogtreecommitdiff
path: root/strings/ctype-simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/ctype-simple.c')
-rw-r--r--strings/ctype-simple.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/strings/ctype-simple.c b/strings/ctype-simple.c
index e028a027484..d7d382a61c3 100644
--- a/strings/ctype-simple.c
+++ b/strings/ctype-simple.c
@@ -1000,7 +1000,7 @@ ulong my_scan_8bit(CHARSET_INFO *cs, const char *str, const char *end, int sq)
return 0;
case MY_SEQ_SPACES:
- for (str++ ; str != end ; str++)
+ for ( ; str < end ; str++)
{
if (!my_isspace(cs,*str))
break;
@@ -1010,3 +1010,9 @@ ulong my_scan_8bit(CHARSET_INFO *cs, const char *str, const char *end, int sq)
return 0;
}
}
+
+void my_fill_8bit(CHARSET_INFO *cs __attribute__((unused)),
+ char *s, uint l, int fill)
+{
+ bfill(s,l,fill);
+} \ No newline at end of file