diff options
author | otto <> | 2005-03-30 07:33:57 +0000 |
---|---|---|
committer | otto <> | 2005-03-30 07:33:57 +0000 |
commit | 51b18687fec146780dd1a93dd7c127355f35f0ef (patch) | |
tree | 2b478946952fc00cf2154f79d14f9544715d8724 | |
parent | 1228747c59a633553cbbe9bf77bcf13d6371ca5f (diff) | |
download | openbsd-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.3 | 8 |
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. | |||
81 | If an error occurs, | 81 | If an error occurs, |
82 | .Fn realpath | 82 | .Fn realpath |
83 | returns | 83 | returns |
84 | .Dv NULL , | 84 | .Dv NULL |
85 | and | 85 | and the contents of |
86 | .Fa resolved | 86 | .Fa resolved |
87 | contains the pathname which caused the problem. | 87 | are undefined. |
88 | .Sh ERRORS | 88 | .Sh ERRORS |
89 | The function | 89 | The function |
90 | .Fn realpath | 90 | .Fn realpath |