Displaying 1 result from an estimated 1 matches for "global_is_multibyte_codepag".
Did you mean:
global_is_multibyte_codepage
2000 Jun 02
0
util_str.c patch
...char *sP;
- /*
- * We split out the multibyte code page
- * case here for speed purposes. Under a
- * multibyte code page we need to walk the
- * string forwards only and multiple times.
- * Thanks to John Blair for finding this
- * one. JRA.
- */
-
- if(back_len)
- {
- if(!global_is_multibyte_codepage)
- {
- s_len = strlen(s);
- while ((s_len >= back_len) &&
- (strncmp(s + s_len - back_len, back, back_len)==0))
- {
- ret = True;
- s[s_len - back_len] = '\0';
- s_len = strlen(s);
- }
+ if ( !s ) {
+ return Fa...