CVSROOT: /cvs Module name: src Changes by: [email protected] 2016/02/22 12:31:38
Modified files:
regress/usr.bin/patch: Makefile
usr.bin/patch : ed.c
Added files:
regress/usr.bin/patch: t18.diff t18.in t18.out
Log message:
Properly handle ed-files which fully replace input file content. This
misbehaviour is triggered with 'c' and 'i' commands on empty buffers.
Spotted and fixed by Martin Natano <natano at natano dot net>.
ok millert@
