freebsd-skq/usr.bin/patch
kevans a218e1933f 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 patch(1): fix the file removal test, strengthen it a bit 2019-09-05 15:35:57 +00:00
backupfile.c
backupfile.h
common.h patch(1): Exit successfully if we're fed a 0-length patch 2019-03-01 01:20:21 +00:00
inp.c
inp.h
Makefile patch(1): add some basic tests 2019-09-05 03:16:14 +00:00
Makefile.depend
mkpath.c
patch.1
patch.c patch(1): Exit successfully if we're fed a 0-length patch 2019-03-01 01:20:21 +00:00
pathnames.h
pch.c patch(1): Exit successfully if we're fed a 0-length patch 2019-03-01 01:20:21 +00:00
pch.h
util.c
util.h