Make ed(1) warn about modifications if 'r'ead in an empty file and
authormartijn <martijn@openbsd.org>
Mon, 26 Feb 2018 17:35:08 +0000 (17:35 +0000)
committermartijn <martijn@openbsd.org>
Mon, 26 Feb 2018 17:35:08 +0000 (17:35 +0000)
commit6aeae0a8cf68bcd82bc9436f7e8f3df63d63a669
treebc2d7b0e2d5fab9d088b5b5f25ddd11ca504a9a0
parent93f5d684a773f073613fbbbe4c6120e97624fe25
Make ed(1) warn about modifications if 'r'ead in an empty file and
trying to quit.

Diff from Tim Chase
OK tb@ and millert@
bin/ed/main.c