#
42b38843 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .h pattern Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
#
ef30b5a8 |
|
28-Feb-2019 |
Kyle Evans <kevans@FreeBSD.org> |
patch(1): Exit successfully if we're fed a 0-length patch This change is made in the name of GNU patch compatibility. If GNU patch is fed a zero-length patch, it will exit successfully with no output. This is used in at least one port to date (comms/wsjtx), and we break on this usage. It seems unlikely that anyone relies on patch(1) calling their completely empty patch garbage and failing, and GNU compatibility is a plus if it helps with porting, so make the switch. Reported by: db MFC after: 2 weeks
|
#
758a3cff |
|
01-Oct-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
patch(1): make some macros look boolean. Similar to r306560, plus remove an unused macro. Suggested by: jmallett
|
#
c7ef297a |
|
01-Oct-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
patch(1): make some macros look boolean. Minor cleanup inspired by a new patch(1) variant in schily tools. For reference: https://sourceforge.net/p/schillix-on/ MFC after: 1 week
|
#
e678759c |
|
14-Aug-2015 |
Xin LI <delphij@FreeBSD.org> |
Remove automatic checkout feature. Obtained from: DragonFly via OpenBSD Relnotes: yes MFC: never
|
#
1e3e5815 |
|
28-Jul-2015 |
Xin LI <delphij@FreeBSD.org> |
Fix shell injection vulnerability in patch(1) and drop SCCS support by replacing system() with execve(). Future revisions may remove the functionality completely. Obtained from: Bitrig Security: CVE-2015-1416
|
#
d3fc0cb8 |
|
08-Dec-2014 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
patch(1): avoid line number overflows Introduce strtolinenum to properly check line numbers while parsing: no signs, no spaces, just digits, 0 <= x <= LONG_MAX Properly validate line ranges supplied in diff file to prevent overflows. Also fixes an out of boundary memory access because the resulting values are used as array indices. PR: 195436 Obtained from: OpenBSD (CVS pch.c rev 1.45, 1,46, common.h rev 1.28) MFC after: 1 week
|
#
b1a40986 |
|
21-Apr-2014 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
Various style(9) fixes and typos in grep, sort and patch. MFC after: 3 days
|
#
e56ef7d3 |
|
29-Jan-2013 |
Xin LI <delphij@FreeBSD.org> |
- Refresh code with latest OpenBSD revisions. - Remove $DragonFly$ tags as they are using git nowadays and VCS tags will not help merging. - Other changes to Copyright headers to make them consistent with other source code, we intend to fork from this point. Reviewed by: pfg
|
#
2dd076b8 |
|
29-Jan-2013 |
Gabor Kovesdan <gabor@FreeBSD.org> |
- Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) from DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it default and installs GNU patch as gnupatch. Submitted by: pfg Obtained from: The DragonflyBSD Project
|
#
a9c7144e |
|
01-Aug-2004 |
Garance A Drosehn <gad@FreeBSD.org> |
Import of a BSD-licensed version of `patch', which will eventually replace the version we currently have in src/gnu/usr.bin/patch/. Among other things, this version includes a --posix option for strict POSIX conformance. This version is the current source from OpenBSD as of today. It is their 3.5-release, plus a few updates to patch.c and pch.c that they made about three weeks ago.
|
#
65b3003d |
|
13-Jul-1997 |
Peter Wemm <peter@FreeBSD.org> |
kill the undead
|
#
c44252b6 |
|
06-Jul-1997 |
Bruce Evans <bde@FreeBSD.org> |
Finish importing Lite2's src/usr.bin, except for ex, diff, grep, mail, pascal and vmstat.sparc. All changed files on the vendor branch should already have been imported.
|
#
6065a0be |
|
30-Dec-1995 |
Peter Wemm <peter@FreeBSD.org> |
This commit was generated by cvs2svn to compensate for changes in r13122, which included commits to RCS files with non-trunk default branches.
|
#
9b50d902 |
|
26-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite Usr.bin Sources
|