aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-11-15 18:38:26 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-11-15 18:38:26 +0200
commitd312241e2ed853effb2d018d50e1362bf21848a0 (patch)
tree804adbf6c52717cc286b167f8a82d03b4aaaf950 /main.c
parentaf9cde0a7cf69800ac3ec581a7c2422e955b9a3c (diff)
parent8b863f8852067b0638e09dc7c82355b96381dc12 (diff)
downloadegawk-d312241e2ed853effb2d018d50e1362bf21848a0.tar.gz
egawk-d312241e2ed853effb2d018d50e1362bf21848a0.tar.bz2
egawk-d312241e2ed853effb2d018d50e1362bf21848a0.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/main.c b/main.c
index f71b3e0f..19b6c381 100644
--- a/main.c
+++ b/main.c
@@ -155,9 +155,7 @@ static const char *locale = ""; /* default value to setlocale */
int use_lc_numeric = false; /* obey locale for decimal point */
-#if MBS_SUPPORT
int gawk_mb_cur_max; /* MB_CUR_MAX value, see comment in main() */
-#endif
FILE *output_fp; /* default gawk output, can be redirected in the debugger */
bool output_is_tty = false; /* control flushing of output */
@@ -290,7 +288,6 @@ main(int argc, char **argv)
set_locale_stuff();
-#if MBS_SUPPORT
/*
* In glibc, MB_CUR_MAX is actually a function. This value is
* tested *a lot* in many speed-critical places in gawk. Caching
@@ -300,8 +297,6 @@ main(int argc, char **argv)
/* init the cache for checking bytes if they're characters */
init_btowc_cache();
-#endif
-
if (do_nostalgia)
nostalgia();
@@ -334,7 +329,6 @@ main(int argc, char **argv)
if (do_lint && os_is_setuid())
warning(_("running %s setuid root may be a security problem"), myname);
-#if MBS_SUPPORT
if (do_binary) {
if (do_posix)
warning(_("`--posix' overrides `--characters-as-bytes'"));
@@ -344,7 +338,6 @@ main(int argc, char **argv)
setlocale(LC_ALL, "C");
#endif
}
-#endif
if (do_debug) /* Need to register the debugger pre-exec hook before any other */
init_debug();