Fix readrec's definition of a record
authormillert <millert@openbsd.org>
Thu, 10 Jun 2021 21:01:43 +0000 (21:01 +0000)
committermillert <millert@openbsd.org>
Thu, 10 Jun 2021 21:01:43 +0000 (21:01 +0000)
commit22a86ef2881f50b132e2c25098304546903bb898
treec6d1d6aacd84bc5c94f71cb37f8b424d3eb76639
parent540e29f5c71e33079616d687733742d965a4bb75
Fix readrec's definition of a record
It is not sufficient to check for the EOF flag on a stream.
From https://github.com/onetrueawk/awk/pull/117
usr.bin/awk/lib.c