diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-01-07 22:29:00 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-01-07 22:29:00 +0200 |
commit | 2ff844d50c0ecbc4dc660cf7e8989476f56fb3e7 (patch) | |
tree | ac6cc36b861228c3876ddcec7eebedd53e6eb290 /extension | |
parent | f19d6c877ef2e467965b6fec2561be8b8ca5db94 (diff) | |
parent | b1f63ac08d7da89ac7e8af4df5ca835527fc5b24 (diff) | |
download | egawk-2ff844d50c0ecbc4dc660cf7e8989476f56fb3e7.tar.gz egawk-2ff844d50c0ecbc4dc660cf7e8989476f56fb3e7.tar.bz2 egawk-2ff844d50c0ecbc4dc660cf7e8989476f56fb3e7.zip |
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'extension')
-rw-r--r-- | extension/ChangeLog | 4 | ||||
-rw-r--r-- | extension/testext.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog index 41c8a0e4..582a3440 100644 --- a/extension/ChangeLog +++ b/extension/ChangeLog @@ -1,3 +1,7 @@ +2015-01-07 Arnold D. Robbins <arnold@skeeve.com> + + * testext.c (var_test): Adjust for PROCINFO now being there. + 2014-11-23 Arnold D. Robbins <arnold@skeeve.com> * inplace.c (do_inplace_begin): Jump through hoops to silence diff --git a/extension/testext.c b/extension/testext.c index 7462265b..4a1e7032 100644 --- a/extension/testext.c +++ b/extension/testext.c @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 2012, 2013, 2014 + * Copyright (C) 2012, 2013, 2014, 2015 * the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the @@ -302,11 +302,11 @@ var_test(int nargs, awk_value_t *result) goto out; } - /* look up PROCINFO - should fail */ + /* look up PROCINFO - should succeed fail */ if (sym_lookup("PROCINFO", AWK_ARRAY, & value)) - printf("var_test: sym_lookup of PROCINFO failed - got a value!\n"); + printf("var_test: sym_lookup of PROCINFO passed - got a value!\n"); else - printf("var_test: sym_lookup of PROCINFO passed - did not get a value\n"); + printf("var_test: sym_lookup of PROCINFO failed - did not get a value\n"); /* look up a reserved variable - should pass */ if (sym_lookup("ARGC", AWK_NUMBER, & value)) |