summaryrefslogtreecommitdiff
path: root/usr.bin/patch/patch.c
AgeCommit message (Expand)Author
2024-02-12patch: Support long context lines.Dag-Erling Smørgrav
2023-12-03patch: fix locate_hunk in empty filesPedro F. Giffuni
2023-08-16Remove $FreeBSD$: one-line .h patternWarner Losh
2023-02-13patch: omit filename if the prompt was ignoredKyle Evans
2019-11-04patch(1): give /dev/null patches special treatmentKyle Evans
2019-03-01patch(1): Exit successfully if we're fed a 0-length patchKyle Evans
2017-12-21patch: rejname[] is also -r option buffer, and should be PATH_MAX.Pedro F. Giffuni
2017-11-22patch(1): don't assume a match if we run out of context to checkKyle Evans
2017-11-08Revert r325365Kyle Evans
2017-11-03patch(1): don't assume a match if we run out of context to checkKyle Evans
2017-01-02patch(1): replace strnlen() with a simpler strlen().Pedro F. Giffuni
2017-01-02Revert r311106:Pedro F. Giffuni
2017-01-02patch(1): extend the maximum length of a line from USHRT_MAX to UINT_MAX.Pedro F. Giffuni
2016-04-24Adjust a type from r267490.Pedro F. Giffuni
2015-07-21patch(1): Add -Vnone option to disable backup filesConrad Meyer
2014-12-31Fixes to exit status.Pedro F. Giffuni
2014-12-25patch: Bring in xstrdup and use it when appropriate.Pedro F. Giffuni
2014-12-07Prefer setvbuf() to setlinebuf().Pedro F. Giffuni
2014-06-15patch: add dry-run alias for compatibility with other implementations.Pedro F. Giffuni
2014-06-15patch: unsign the line length to avoid overflows.Pedro F. Giffuni
2013-09-26Improve bsdpatch usability:Xin LI
2013-07-24patch: style fixPedro F. Giffuni
2013-05-25Revert r250972 to fix build.Glen Barber
2013-05-24The error handling for writes to the target file could lead to the finalStefan Eßer
2013-01-29 - Refresh code with latest OpenBSD revisions.Xin LI
2013-01-29- Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) fromGabor Kovesdan
1997-07-13kill the undeadPeter Wemm
1997-07-06Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail,Bruce Evans