aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-01-28 22:23:31 +0200
committerArnold D. Robbins <arnold@skeeve.com>2021-01-28 22:23:31 +0200
commit860aef2bc6ac9a2eace69a3a29a03566098508c9 (patch)
tree1f017271c5b2b9c14638311fe94f061fbab0eefe /main.c
parent1be45532cb6ba6ecf5aa45e7632816ee9162d7e4 (diff)
parent68d5d1696256371e124c8c89de3734bd270fde83 (diff)
downloadegawk-860aef2bc6ac9a2eace69a3a29a03566098508c9.tar.gz
egawk-860aef2bc6ac9a2eace69a3a29a03566098508c9.tar.bz2
egawk-860aef2bc6ac9a2eace69a3a29a03566098508c9.zip
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index ea3b3a59..5b153bc3 100644
--- a/main.c
+++ b/main.c
@@ -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())