aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-08-17 13:07:27 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-08-17 13:07:27 +0300
commit07fb393999d623541bf2e54aeeb0d9c0311baace (patch)
treeee1cd614366b3acfd612e5acfb39e30fc88de667 /main.c
parente6b05afd9971b457c0b46907a91185b66be8ff4e (diff)
parenta58fa491cdaf57a9f67cff35c58398ef0c87f52e (diff)
downloadegawk-07fb393999d623541bf2e54aeeb0d9c0311baace.tar.gz
egawk-07fb393999d623541bf2e54aeeb0d9c0311baace.tar.bz2
egawk-07fb393999d623541bf2e54aeeb0d9c0311baace.zip
Merge branch 'gawk-4.0-stable'
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index bbe656da..9c99c86f 100644
--- a/main.c
+++ b/main.c
@@ -566,9 +566,12 @@ out:
#if MBS_SUPPORT
if (do_binary) {
if (do_posix)
- warning(_("`--posix' overrides `--binary'"));
+ warning(_("`--posix' overrides `--characters-as-bytes'"));
else
gawk_mb_cur_max = 1; /* hands off my data! */
+#if defined(LC_ALL)
+ setlocale(LC_ALL, "C");
+#endif
}
#endif