Home | History | Annotate | Download | only in patch
History log of /src/usr.bin/patch/patch.1
RevisionDateAuthorComments
 1.22  16-Jun-2023  wiz patch: add --backup-if-mismatch and --no-backup-if-mismatch for GNU patch compatibility

These options only make sense in POSIX mode, since NetBSD's patch
has --backup enabled by default and GNU patch doesn't.

In POSIX mode, GNU patch and NetBSD patch now behave the same for these
two options.
 1.21  03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.20  07-Nov-2015  joerg Explain what "-V none" does.
 1.19  02-Aug-2015  wiz Fix two typos.
 1.18  02-Aug-2015  christos remove reference to SCCS which is not supported anymore.
XXX: pullup-7
 1.17  11-Apr-2014  christos branches: 1.17.2;
mention -V none
 1.16  29-Jan-2013  wiz branches: 1.16.6;
Add comma after i.e.
From Bug Hunting.
 1.15  08-Apr-2012  wiz branches: 1.15.2;
Remove unnecessary Bk/Ek pairs from SYNOPSIS.
No effective change except where I used the opportunity to sort options
and/or option descriptions.
 1.14  10-Mar-2009  joerg branches: 1.14.6;
Don't workaround ancient macro argumentent limitation with .Xo/.Xc.
 1.13  19-Sep-2008  joerg branches: 1.13.6;
Update patch to the version used by DragonFly and derived from OpenBSD.
Major changes are:
- better detection of double applied patches
- rejects remain unified diffs for unified patches
- far less limitations, e.g. patch lines may be arbitrary long

This addresses PR standards/11220 by changing patch -b behavior to be
POSIX compliant. Old behavior can be obtained using --suffix, which
works since NetBSD 1.4. pkgsrc has been adjusted accordingly.
 1.12  25-Mar-2005  wiz Sort options. Add -C to usage.
 1.11  25-Mar-2005  wiz Fix typo and drop trailing whitespace.
 1.10  25-Mar-2005  skd add --dry-run like gnu patch.
 1.9  06-Jan-2003  wiz Superfluous word; from jmc@prioris.mini.pw.edu.pl via openbsd.
 1.8  30-Sep-2002  grant New sentence, new line.
 1.7  08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.6  01-Dec-2001  wiz Whitespace cleanup.
 1.5  16-Oct-2000  kleink Support the 1003.2-92 -i option to specify a patchfile;
fixes PR standards/11221.
 1.4  19-Sep-1996  thorpej branches: 1.4.12;
RCS id police.
 1.3  19-Sep-1996  thorpej Decode long (GNU-style) options. Changes originally from Niklas Hallqvist,
but modified some by me.
 1.2  02-Aug-1993  mycroft Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
 1.1  09-Apr-1993  cgd branches: 1.1.1;
patch 2.0.12u8, from prep.ai.mit.edu. this is not under the GPL.
 1.1.1.1  09-Jan-1997  tls Import from 4.4BSD-Lite2
 1.4.12.1  03-Feb-2001  he Pull up revision 1.5 (requested by kleink):
Support the 1003.2-92 -i option. Fixes PR#11221.
 1.13.6.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.14.6.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.14.6.1  17-Apr-2012  yamt sync with head
 1.15.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.2.1  25-Feb-2013  tls resync with head
 1.16.6.1  10-Aug-2014  tls Rebase.
 1.17.2.1  04-Aug-2015  snj Pull up following revision(s) (requested by christos in ticket #918):
usr.bin/patch/patch.1: revisions 1.18, 1.19
usr.bin/patch/common.h: revision 1.21
usr.bin/patch/inp.c: revision 1.24
From Martin Natano @bitrig: Use execve(2) instead of system to apply patches
that require rcs command execution instead system(3) to avoid malicious
filenames in patches causing bad things to happen. In the process, lose SCCS
support. It is not like we are shipping sccs commands for that to work.
--
Use absolute paths for RCS commands (Martin Natano)
--
remove reference to SCCS which is not supported anymore.
--
Fix two typos.

RSS XML Feed