freebsd-dev/usr.bin/patch
Pedro F. Giffuni e91a64de38 Merge fixes from OpenBSD.
Check fstat return value.  Also, use off_t for file size and offsets.
Avoid iterating over end of string.

Obtained from:	OpenBSD (CVS rev. 1.41, 1.43)
MFC after:	1 week
2014-12-06 01:21:12 +00:00
..
backupfile.c
backupfile.h
common.h Various style(9) fixes and typos in grep, sort and patch. 2014-04-21 22:52:18 +00:00
inp.c
inp.h
Makefile Drop build option switch for the older GNU patch. 2013-08-29 00:38:24 +00:00
mkpath.c
patch.1 patch: add dry-run alias for compatibility with other implementations. 2014-06-15 16:38:17 +00:00
patch.c patch: add dry-run alias for compatibility with other implementations. 2014-06-15 16:38:17 +00:00
pathnames.h
pch.c Merge fixes from OpenBSD. 2014-12-06 01:21:12 +00:00
pch.h patch: unsign the line length to avoid overflows. 2014-06-15 03:54:23 +00:00
util.c Improve bsdpatch usability: 2013-09-26 18:00:45 +00:00
util.h