diff options
| author | bluhm <> | 2019-12-11 20:01:50 +0000 |
|---|---|---|
| committer | bluhm <> | 2019-12-11 20:01:50 +0000 |
| commit | be7e226cf1922696ae30c64b3eaacbbaa2f3a230 (patch) | |
| tree | ddd8e29fdbe096028bb879a4872dc1d204c1a7aa /src/lib/libc/stdlib/realpath.3 | |
| parent | 2e49837b2467a80b6ffa440cb2ae18318b4e5e02 (diff) | |
| download | openbsd-be7e226cf1922696ae30c64b3eaacbbaa2f3a230.tar.gz openbsd-be7e226cf1922696ae30c64b3eaacbbaa2f3a230.tar.bz2 openbsd-be7e226cf1922696ae30c64b3eaacbbaa2f3a230.zip | |
The file passed to realpath(3) must exists, adjust man page to new
behavior.
noticed by hshoexer@; OK beck@
Diffstat (limited to '')
| -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 |
