summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2019-12-11 20:01:50 +0000
committerbluhm <bluhm@openbsd.org>2019-12-11 20:01:50 +0000
commitefa53c9628f6b934c0cdfa8ce139a884344c261c (patch)
tree2242783436ed9475976391b20bbef584c0ff5f35
parentit's no longer possible to disable privilege separation in sshd, so (diff)
downloadwireguard-openbsd-efa53c9628f6b934c0cdfa8ce139a884344c261c.tar.xz
wireguard-openbsd-efa53c9628f6b934c0cdfa8ce139a884344c261c.zip
The file passed to realpath(3) must exists, adjust man page to new
behavior. noticed by hshoexer@; OK beck@
-rw-r--r--lib/libc/stdlib/realpath.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/realpath.3 b/lib/libc/stdlib/realpath.3
index 6ae3e484b49..51abd93652f 100644
--- a/lib/libc/stdlib/realpath.3
+++ b/lib/libc/stdlib/realpath.3
@@ -28,9 +28,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: realpath.3,v 1.24 2019/07/05 12:55:36 deraadt Exp $
+.\" $OpenBSD: realpath.3,v 1.25 2019/12/11 20:01:50 bluhm Exp $
.\"
-.Dd $Mdocdate: July 5 2019 $
+.Dd $Mdocdate: December 11 2019 $
.Dt REALPATH 3
.Os
.Sh NAME
@@ -68,7 +68,7 @@ The
function will resolve both absolute and relative paths
and return the absolute pathname corresponding to
.Fa pathname .
-All but the last component of
+All components of
.Fa pathname
must exist when
.Fn realpath