mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
c1a08643e3
Patch(1) uses a short int for the line length, which is usually sufficient for regular diffs, but makes no effort to signal when there is an overflow. Change the line length to an unsigned short int to better use the fact that a length is never negative. The change is loosely inspired on a related change in DragonFly, but we avoid spending more memory than necessary. While here adjust the messages to be clearer on what is happening. MFC after: 1 week |
||
---|---|---|
.. | ||
backupfile.c | ||
backupfile.h | ||
common.h | ||
inp.c | ||
inp.h | ||
Makefile | ||
mkpath.c | ||
patch.1 | ||
patch.c | ||
pathnames.h | ||
pch.c | ||
pch.h | ||
util.c | ||
util.h |