|
14 | 14 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */ |
15 | 15 |
|
16 | 16 | /* |
17 | | - A better inplementation of the UNIX ctype(3) library. |
| 17 | + A better implementation of the UNIX ctype(3) library. |
18 | 18 | */ |
19 | 19 |
|
20 | 20 | #ifndef _m_ctype_h |
@@ -123,7 +123,7 @@ uint16 *my_uca_contraction2_weight(const MY_CONTRACTIONS *c, |
123 | 123 | my_wc_t wc1, my_wc_t wc2); |
124 | 124 |
|
125 | 125 |
|
126 | | -/* Collation weights on a single level (e.g. primary, secondary, tertiarty) */ |
| 126 | +/* Collation weights on a single level (e.g. primary, secondary, tertiary) */ |
127 | 127 | typedef struct my_uca_level_info_st |
128 | 128 | { |
129 | 129 | my_wc_t maxchar; |
@@ -998,7 +998,7 @@ uint32 my_convert(char *to, uint32 to_length, CHARSET_INFO *to_cs, |
998 | 998 | An extended version of my_convert(), to pass non-default mb_wc() and wc_mb(). |
999 | 999 | For example, String::copy_printable() which is used in |
1000 | 1000 | Protocol::store_warning() uses this to escape control |
1001 | | - and non-convertable characters. |
| 1001 | + and non-convertible characters. |
1002 | 1002 | */ |
1003 | 1003 | uint32 my_convert_using_func(char *to, size_t to_length, CHARSET_INFO *to_cs, |
1004 | 1004 | my_charset_conv_wc_mb mb_wc, |
@@ -1086,7 +1086,7 @@ size_t my_convert_fix(CHARSET_INFO *dstcs, char *dst, size_t dst_length, |
1086 | 1086 | @param str - the beginning of the string |
1087 | 1087 | @param end - the string end (the next byte after the string) |
1088 | 1088 | @return >0, for a multi-byte character |
1089 | | - @rerurn 0, for a single byte character, broken sequence, empty string. |
| 1089 | + @return 0, for a single byte character, broken sequence, empty string. |
1090 | 1090 | */ |
1091 | 1091 | static inline |
1092 | 1092 | uint my_ismbchar(CHARSET_INFO *cs, const char *str, const char *end) |
|
0 commit comments