diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -347,7 +347,7 @@ __crt0_glob_function(char *path) strncpy(buf, path, len); buf[len] = '\0'; - for (p = buf; *p; p += mblen(p, MB_CUR_MAX)) + for (p = buf; *p; p += mblen(p, RUBY_MBCHAR_MAXSIZE)) if (*p == '\\') *p = '/'; |