aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-05-30 16:09:37 -0400
committerArnold D. Robbins <arnold@skeeve.com>2016-05-30 16:09:37 -0400
commitbda71a2e22997e09f82d4ea33ccef03c0afc667b (patch)
tree510139243961308e624bde5a0a92e8a7a6f2a586 /main.c
parenta9762c867aa96caa1419b65e7398fd21586baee6 (diff)
parentdb17f0d20a03bd851e8e4f005eb6304ad6a93c12 (diff)
downloadegawk-bda71a2e22997e09f82d4ea33ccef03c0afc667b.tar.gz
egawk-bda71a2e22997e09f82d4ea33ccef03c0afc667b.tar.bz2
egawk-bda71a2e22997e09f82d4ea33ccef03c0afc667b.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 8537aa78..166cf89c 100644
--- a/main.c
+++ b/main.c
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 1986, 1988, 1989, 1991-2015 the Free Software Foundation, Inc.
+ * Copyright (C) 1986, 1988, 1989, 1991-2016 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -1155,7 +1155,9 @@ arg_assign(char *arg, bool initing)
*/
if (do_posix)
setlocale(LC_NUMERIC, "C");
+#endif /* LC_NUMERIC */
(void) force_number(it);
+#ifdef LC_NUMERIC
if (do_posix)
setlocale(LC_NUMERIC, locale);
#endif /* LC_NUMERIC */