Merge branch 'fix-RS' of https://github.com/mpinjr/awk into staging
diff --git a/lib.c b/lib.c
index 18adbd2..82b804b 100644
--- a/lib.c
+++ b/lib.c
@@ -176,6 +176,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);
diff --git a/testdir/T.misc b/testdir/T.misc
index dff57db..77e6dd1 100755
--- a/testdir/T.misc
+++ b/testdir/T.misc
Binary files differ