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 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 patch(1): Don't check for NUL bytes in Plan A 2018-01-11 15:01:48 +00:00
inp.h
Makefile patch(1): add some basic tests 2019-09-05 03:16:14 +00:00
Makefile.depend
mkpath.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
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