OpenBSD CVS

CVS log for src/usr.bin/patch/pch.c


[BACK] Up to [local] / src / usr.bin / patch

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_5_8


Revision 1.53 / (download) - annotate - [select for diffs], Fri Jul 31 00:24:14 2015 UTC (8 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.52: +14 -2 lines
Diff to previous 1.52 (colored)

Account for newlines in substitution (s///) commands.  Substitution
commands might contain a newline in the replacement pattern (escaped
with a backslash before it), causing patch's understanding of the
state the ed child process is in to diverge from reality. This can
lead to patch unwillingly feeding '!' (execute shell command) lines
to ed.  From Martin Natano.  OK deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.