aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-09-18 11:39:54 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-09-18 11:39:54 +0300
commit82f0a742be462298c0da027bc4fb56ddcb667c02 (patch)
treef44643a98685af133e144304f9a32d383c6649d5 /builtin.c
parent4978d581e4c1a93b5cdb962b47c2ed827655b070 (diff)
parentc80262bd52c0f1631e9a0aeebf7b732afb76d76f (diff)
downloadegawk-82f0a742be462298c0da027bc4fb56ddcb667c02.tar.gz
egawk-82f0a742be462298c0da027bc4fb56ddcb667c02.tar.bz2
egawk-82f0a742be462298c0da027bc4fb56ddcb667c02.zip
Merge branch 'gawk-4.2-stable'
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin.c b/builtin.c
index 8247ca33..d7b2337e 100644
--- a/builtin.c
+++ b/builtin.c
@@ -2364,7 +2364,8 @@ do_print_rec(int nargs, int redirtype)
if (fp == NULL)
return;
- (void) get_field(0L, NULL); /* rebuild record if necessary */
+ if (! field0_valid || do_lint) // lint check for field access in END
+ (void) get_field(0L, NULL);
f0 = fields_arr[0];