Searched hist:c1a08643e3f6c6af2672fc7fd50251465f580489 (Results 1 – 3 of 3) sorted by relevance
/freebsd/usr.bin/patch/ |
H A D | pch.h | diff c1a08643e3f6c6af2672fc7fd50251465f580489 Sun Jun 15 05:54:23 CEST 2014 Pedro F. Giffuni <pfg@FreeBSD.org> patch: unsign the line length to avoid overflows.
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
|
H A D | patch.c | diff c1a08643e3f6c6af2672fc7fd50251465f580489 Sun Jun 15 05:54:23 CEST 2014 Pedro F. Giffuni <pfg@FreeBSD.org> patch: unsign the line length to avoid overflows.
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
|
H A D | pch.c | diff c1a08643e3f6c6af2672fc7fd50251465f580489 Sun Jun 15 05:54:23 CEST 2014 Pedro F. Giffuni <pfg@FreeBSD.org> patch: unsign the line length to avoid overflows.
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
|