summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/patch.1
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-07-31 21:07:35 +0000
committermillert <millert@openbsd.org>2003-07-31 21:07:35 +0000
commit3bf9a76cbfe328803abfcf4f2117de50e22d54cf (patch)
tree913d345613e4e6d88bde935bd98b4c4d39248194 /usr.bin/patch/patch.1
parentUnbreak relative directory handling. Tweak from millert@ (diff)
downloadwireguard-openbsd-3bf9a76cbfe328803abfcf4f2117de50e22d54cf.tar.xz
wireguard-openbsd-3bf9a76cbfe328803abfcf4f2117de50e22d54cf.zip
Historically, patch would treat a bare -p as -p0. This contradicts
POSIX and GNU patch has also removed this, so we will too. No objections on icb (no one even seemed to know about this "feature").
Diffstat (limited to 'usr.bin/patch/patch.1')
-rw-r--r--usr.bin/patch/patch.14
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/patch/patch.1 b/usr.bin/patch/patch.1
index ccbe89c79a9..082443d87a9 100644
--- a/usr.bin/patch/patch.1
+++ b/usr.bin/patch/patch.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: patch.1,v 1.15 2003/07/30 16:45:44 millert Exp $
+.\" $OpenBSD: patch.1,v 1.16 2003/07/31 21:07:35 millert Exp $
.\" Copyright 1986, Larry Wall
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -312,8 +312,6 @@ For example, supposing the filename in the patch file was
.Pa /u/howard/src/blurfl/blurfl.c :
.Pp
Setting
-.Fl p
-or
.Fl p Ns Ar 0
gives the entire pathname unmodified.
.Pp