summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorotto <>2005-03-30 07:33:57 +0000
committerotto <>2005-03-30 07:33:57 +0000
commit51b18687fec146780dd1a93dd7c127355f35f0ef (patch)
tree2b478946952fc00cf2154f79d14f9544715d8724
parent1228747c59a633553cbbe9bf77bcf13d6371ca5f (diff)
downloadopenbsd-51b18687fec146780dd1a93dd7c127355f35f0ef.tar.gz
openbsd-51b18687fec146780dd1a93dd7c127355f35f0ef.tar.bz2
openbsd-51b18687fec146780dd1a93dd7c127355f35f0ef.zip
Do not promise anything about the contents of resolved on failure.
ok millert@
-rw-r--r--src/lib/libc/stdlib/realpath.38
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/realpath.3 b/src/lib/libc/stdlib/realpath.3
index c178f0a9d3..4fc04907ac 100644
--- a/src/lib/libc/stdlib/realpath.3
+++ b/src/lib/libc/stdlib/realpath.3
@@ -28,7 +28,7 @@
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.11 2005/03/29 19:34:14 brad Exp $ 31.\" $OpenBSD: realpath.3,v 1.12 2005/03/30 07:33:57 otto Exp $
32.\" 32.\"
33.Dd February 16, 1994 33.Dd February 16, 1994
34.Dt REALPATH 3 34.Dt REALPATH 3
@@ -81,10 +81,10 @@ on success.
81If an error occurs, 81If an error occurs,
82.Fn realpath 82.Fn realpath
83returns 83returns
84.Dv NULL , 84.Dv NULL
85and 85and the contents of
86.Fa resolved 86.Fa resolved
87contains the pathname which caused the problem. 87are undefined.
88.Sh ERRORS 88.Sh ERRORS
89The function 89The function
90.Fn realpath 90.Fn realpath