=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/awk/lib.c,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- src/usr.bin/awk/lib.c 2020/12/18 21:36:24 1.44 +++ src/usr.bin/awk/lib.c 2021/04/19 14:08:55 1.45 @@ -1,4 +1,4 @@ -/* $OpenBSD: lib.c,v 1.44 2020/12/18 21:36:24 millert Exp $ */ +/* $OpenBSD: lib.c,v 1.45 2021/04/19 14:08:55 millert Exp $ */ /**************************************************************** Copyright (C) Lucent Technologies 1997 All Rights Reserved @@ -174,6 +174,7 @@ infile = stdin; else if ((infile = fopen(file, "r")) == NULL) FATAL("can't open file %s", file); + innew = true; setfval(fnrloc, 0.0); } c = readrec(&buf, &bufsize, infile, innew);