freebsd-dev/usr.bin/patch
Kyle Evans 89b5571e0b patch(1): fix the file removal test, strengthen it a bit
To remain compatible with GNU patch, we should ensure that once we're
removing empty files after a reversed /dev/null patch we don't remove files
that have been modified. GNU patch leaves these intact and just reverses the
hunk that created the file, effectively implying --remove-empty-files for
reversed /dev/null patches.
2019-09-05 15:35:57 +00:00
..
tests
backupfile.c
backupfile.h
common.h
inp.c
inp.h
Makefile
Makefile.depend
mkpath.c
patch.1
patch.c
pathnames.h
pch.c
pch.h
util.c
util.h