Fix merging of files that lack a final \n at EOF after a block of common lines.
authorstsp <stsp@openbsd.org>
Tue, 13 Apr 2021 14:20:23 +0000 (14:20 +0000)
committerstsp <stsp@openbsd.org>
Tue, 13 Apr 2021 14:20:23 +0000 (14:20 +0000)
commit08d4acf6df9a2cd5282efd339e89b74b913004ff
treeccfa10c1ccebb295a7359f96991f4f2195bb5b5c
parentbc49575fdf0d75c10b2619ec4a83633616c070b0
Fix merging of files that lack a final \n at EOF after a block of common lines.

Problem reported by Josh Rickmar.
ok millert@
usr.bin/cvs/diff3.c
usr.bin/diff3/diff3prog.c
usr.bin/rcs/diff3.c