aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-02-08 19:55:45 +0200
committerArnold D. Robbins <arnold@skeeve.com>2015-02-08 19:55:45 +0200
commit0e38201f5879cc91c90876b2b9b219a308e3a2d2 (patch)
tree04d4d2b948f2393d0c78433224d6affc9f724652 /main.c
parent34c33ee0f9d3863f9ef381e499e396c9f447a941 (diff)
parent7306300f662a4fd4adc28e60db6aa0201ec1f5b2 (diff)
downloadegawk-0e38201f5879cc91c90876b2b9b219a308e3a2d2.tar.gz
egawk-0e38201f5879cc91c90876b2b9b219a308e3a2d2.tar.bz2
egawk-0e38201f5879cc91c90876b2b9b219a308e3a2d2.zip
Merge branch 'master' into non-fatal-io-2
Diffstat (limited to 'main.c')
-rw-r--r--main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/main.c b/main.c
index 93f94998..833aa162 100644
--- a/main.c
+++ b/main.c
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 1986, 1988, 1989, 1991-2014 the Free Software Foundation, Inc.
+ * Copyright (C) 1986, 1988, 1989, 1991-2015 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -24,7 +24,7 @@
*/
/* FIX THIS BEFORE EVERY RELEASE: */
-#define UPDATE_YEAR 2014
+#define UPDATE_YEAR 2015
#include "awk.h"
#include "getopt.h"
@@ -794,10 +794,10 @@ init_vars()
(*(vp->assign))();
}
- /* Set up deferred variables (loaded only when accessed). */
+ /* Load PROCINFO and ENVIRON */
if (! do_traditional)
- register_deferred_variable("PROCINFO", load_procinfo);
- register_deferred_variable("ENVIRON", load_environ);
+ load_procinfo();
+ load_environ();
}
/* path_environ --- put path variable into environment if not already there */