summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/patch.1
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2015-07-26 14:32:19 +0000
committermillert <millert@openbsd.org>2015-07-26 14:32:19 +0000
commit7e39cfac2ffac0c42ec7ef4100e19088ac5f4af2 (patch)
tree2d7ea5a813fbdd46b68a3014934762a3392e2b5d /usr.bin/patch/patch.1
parentFix ba# attribute in rdroot entry. It should be 4096 (a valid size for (diff)
downloadwireguard-openbsd-7e39cfac2ffac0c42ec7ef4100e19088ac5f4af2.tar.xz
wireguard-openbsd-7e39cfac2ffac0c42ec7ef4100e19088ac5f4af2.zip
Remove support for automatically checking files out of RCS. The
behavior is confusing to users and even GNU patch no longer does it by default. OK krw@ guenther@
Diffstat (limited to 'usr.bin/patch/patch.1')
-rw-r--r--usr.bin/patch/patch.113
1 files changed, 2 insertions, 11 deletions
diff --git a/usr.bin/patch/patch.1 b/usr.bin/patch/patch.1
index 7d8aee1c123..67e51006c4a 100644
--- a/usr.bin/patch/patch.1
+++ b/usr.bin/patch/patch.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: patch.1,v 1.29 2015/03/13 19:58:41 jmc Exp $
+.\" $OpenBSD: patch.1,v 1.30 2015/07/26 14:32:19 millert Exp $
.\" Copyright 1986, Larry Wall
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -19,7 +19,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 13 2015 $
+.Dd $Mdocdate: July 26 2015 $
.Dt PATCH 1
.Os
.Sh NAME
@@ -479,15 +479,6 @@ file names or, for a non-context diff, the
file name, and choose the file name with the fewest path components,
the shortest basename, and the shortest total file name length (in that order).
.It
-If no file exists,
-.Nm
-checks for the existence of the files in an RCS directory
-(using the appropriate suffix) using the criteria specified
-above.
-If found,
-.Nm
-will attempt to get or check out the file.
-.It
If no suitable file was found to patch, the patch file is a context or
unified diff, and the old file was zero length, the new file name is
created and used.