summaryrefslogtreecommitdiff
path: root/usr.bin/patch
AgeCommit message (Expand)Author
2025-08-30Revert "patch: fix pch_context() for unified diffs with no leading context"Kyle Evans
2025-08-29patch: test for unified diffs with spaces in filenamesKyle Evans
2025-08-29patch: fix pch_context() for unified diffs with no leading contextKyle Evans
2024-10-14Update Makefile.depend filesSimon J. Gerraty
2024-07-15Remove residual blank line at start of MakefileWarner Losh
2024-04-19patch: use getline() instead of fgetln()Martin Tournoij
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 nroff patternWarner Losh
2023-08-16Remove $FreeBSD$: one-line sh patternWarner Losh
2023-08-16Remove $FreeBSD$: one-line .h patternWarner Losh
2023-08-06patch: don't run off the end of path if it ends in '/'.Pedro F. Giffuni
2023-05-12spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh
2023-04-18Update/fix Makefile.depend for userlandSimon J. Gerraty
2023-02-13patch: omit filename if the prompt was ignoredKyle Evans
2021-07-22patch: cleanup variable initialization a bit.Pedro F. Giffuni
2021-05-02usr.bin/patch: remove unneeded header.Xin LI
2020-12-19patch(1): Fix a few mandoc related issuesGordon Bergling
2020-08-16Remove heuristic for dealing with trailing newlines being truncated by mailers.Warner Losh
2019-11-04patch(1): give /dev/null patches special treatmentKyle Evans
2019-09-05patch(1): fix the file removal test, strengthen it a bitKyle Evans
2019-09-05patch(1): add some basic testsKyle Evans
2019-03-01patch(1): Exit successfully if we're fed a 0-length patchKyle Evans
2018-01-11patch(1): Don't check for NUL bytes in Plan AKyle Evans
2017-12-21patch: further cleanup to git-style diffs.Pedro F. Giffuni
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-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-11-08Revert r325365Kyle Evans
2017-11-03patch(1): don't assume a match if we run out of context to checkKyle Evans
2017-10-31DIRDEPS_BUILD: Update dependencies.Bryan Drewery
2017-10-09patch(1): Don't overrun line buffer in some casesKyle Evans
2017-07-02patch(1): add support for git generated diffs.Pedro F. Giffuni
2017-06-08patch: if reading fails, do not go into infinite loop asking for a filename.Pedro F. Giffuni
2017-03-05bc/dc/patch: make some use of reallocarray(3).Pedro F. Giffuni
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-10-01patch(1): make some macros look boolean.Pedro F. Giffuni
2016-10-01patch(1): make some macros look boolean.Pedro F. Giffuni
2016-04-24Adjust a type from r267490.Pedro F. Giffuni
2016-04-24patch(1): avoid signed integer overflow when debugging.Pedro F. Giffuni
2015-12-01META MODE: Update dependencies with 'the-lot' and add missing directories.Bryan Drewery
2015-10-21Fix a ton of speelling errorsEitan Adler
2015-08-15Remove automatic checkout feature.Xin LI
2015-08-11Use __DECONST instead of doing strdup/free.Xin LI
2015-08-10use posix_spawn(3) instead of fork() and exec() manually as suggestedXin LI
2015-08-05Fix shell injection vulnerability in patch(1) via ed(1) byXin LI
2015-07-28Fix shell injection vulnerability in patch(1) and drop SCCSXin LI
2015-07-21patch(1): Add -Vnone option to disable backup filesConrad Meyer