aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index b09027cf..01561b47 100644
--- a/main.c
+++ b/main.c
@@ -293,6 +293,9 @@ main(int argc, char **argv)
*/
gawk_mb_cur_max = MB_CUR_MAX;
/* Without MBS_SUPPORT, gawk_mb_cur_max is 1. */
+
+ /* init the cache for checking bytes if they're characters */
+ init_btowc_cache();
#endif
(void) bindtextdomain(PACKAGE, LOCALEDIR);