aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-08-26 21:18:03 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-08-26 21:18:03 +0300
commit12e05615041147de61658bda8f5e7d5a4acd87c3 (patch)
tree07e44cfe7e54511be6b26dc0779f3ae751256a24 /main.c
parent73780a2b7c4a873c6844a489856b5ae2fe1a9c64 (diff)
downloadegawk-12e05615041147de61658bda8f5e7d5a4acd87c3.tar.gz
egawk-12e05615041147de61658bda8f5e7d5a4acd87c3.tar.bz2
egawk-12e05615041147de61658bda8f5e7d5a4acd87c3.zip
Remove support for MirBSD. Yay!
Diffstat (limited to 'main.c')
-rw-r--r--main.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/main.c b/main.c
index 49cdf51f..fc87d605 100644
--- a/main.c
+++ b/main.c
@@ -262,17 +262,6 @@ main(int argc, char **argv)
*/
gawk_mb_cur_max = MB_CUR_MAX;
/* Without MBS_SUPPORT, gawk_mb_cur_max is 1. */
-#ifdef LIBC_IS_BORKED
-{
- const char *env_lc;
-
- env_lc = getenv("LC_ALL");
- if (env_lc == NULL)
- env_lc = getenv("LANG");
- if (env_lc != NULL && env_lc[1] == '\0' && tolower(env_lc[0]) == 'c')
- gawk_mb_cur_max = 1;
-}
-#endif
/* init the cache for checking bytes if they're characters */
init_btowc_cache();