diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-01-28 22:21:42 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-01-28 22:21:42 +0200 |
commit | 6c8aa0845f91038e08ff48f668d9c4318b93b114 (patch) | |
tree | 8950d7d9875abb8903e31c1daf016f5610ff0b24 /main.c | |
parent | e02e38ad7bd54ced8baa24cca6e931a62b0c1deb (diff) | |
download | egawk-6c8aa0845f91038e08ff48f668d9c4318b93b114.tar.gz egawk-6c8aa0845f91038e08ff48f668d9c4318b93b114.tar.bz2 egawk-6c8aa0845f91038e08ff48f668d9c4318b93b114.zip |
Fix a bug with -b option.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -359,11 +359,12 @@ main(int argc, char **argv) if (do_binary) { if (do_posix) warning(_("`--posix' overrides `--characters-as-bytes'")); - else + else { gawk_mb_cur_max = 1; /* hands off my data! */ #if defined(LC_ALL) - setlocale(LC_ALL, "C"); + setlocale(LC_ALL, "C"); #endif + } } if (do_lint && os_is_setuid()) |