diff options
author | bluhm <> | 2019-12-11 20:01:50 +0000 |
---|---|---|
committer | bluhm <> | 2019-12-11 20:01:50 +0000 |
commit | 6c0599a2ef915718fb80d66882781cc8f0d1709b (patch) | |
tree | ddd8e29fdbe096028bb879a4872dc1d204c1a7aa | |
parent | 4f4edab4f0f2c8c6ad8821ed4e6eb8e76e153825 (diff) | |
download | openbsd-6c0599a2ef915718fb80d66882781cc8f0d1709b.tar.gz openbsd-6c0599a2ef915718fb80d66882781cc8f0d1709b.tar.bz2 openbsd-6c0599a2ef915718fb80d66882781cc8f0d1709b.zip |
The file passed to realpath(3) must exists, adjust man page to new
behavior.
noticed by hshoexer@; OK beck@
-rw-r--r-- | src/lib/libc/stdlib/realpath.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/realpath.3 b/src/lib/libc/stdlib/realpath.3 index 6ae3e484b4..51abd93652 100644 --- a/src/lib/libc/stdlib/realpath.3 +++ b/src/lib/libc/stdlib/realpath.3 | |||
@@ -28,9 +28,9 @@ | |||
28 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 28 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
29 | .\" SUCH DAMAGE. | 29 | .\" SUCH DAMAGE. |
30 | .\" | 30 | .\" |
31 | .\" $OpenBSD: realpath.3,v 1.24 2019/07/05 12:55:36 deraadt Exp $ | 31 | .\" $OpenBSD: realpath.3,v 1.25 2019/12/11 20:01:50 bluhm Exp $ |
32 | .\" | 32 | .\" |
33 | .Dd $Mdocdate: July 5 2019 $ | 33 | .Dd $Mdocdate: December 11 2019 $ |
34 | .Dt REALPATH 3 | 34 | .Dt REALPATH 3 |
35 | .Os | 35 | .Os |
36 | .Sh NAME | 36 | .Sh NAME |
@@ -68,7 +68,7 @@ The | |||
68 | function will resolve both absolute and relative paths | 68 | function will resolve both absolute and relative paths |
69 | and return the absolute pathname corresponding to | 69 | and return the absolute pathname corresponding to |
70 | .Fa pathname . | 70 | .Fa pathname . |
71 | All but the last component of | 71 | All components of |
72 | .Fa pathname | 72 | .Fa pathname |
73 | must exist when | 73 | must exist when |
74 | .Fn realpath | 74 | .Fn realpath |