diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2005-03-30 07:33:58 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2005-03-30 07:33:58 +0000 |
commit | 8a4e25483fd1f6c23254ac994117ac8ad2254370 (patch) | |
tree | d00f17f7d35ee50cbe841b3d69748b0c86754a0f /lib | |
parent | 29e98cbf2e98c5f3f092ea2f57429746904aa948 (diff) |
Do not promise anything about the contents of resolved on failure.
ok millert@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdlib/realpath.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/realpath.3 b/lib/libc/stdlib/realpath.3 index c178f0a9d34..4fc04907acd 100644 --- a/lib/libc/stdlib/realpath.3 +++ b/lib/libc/stdlib/realpath.3 @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: realpath.3,v 1.11 2005/03/29 19:34:14 brad Exp $ +.\" $OpenBSD: realpath.3,v 1.12 2005/03/30 07:33:57 otto Exp $ .\" .Dd February 16, 1994 .Dt REALPATH 3 @@ -81,10 +81,10 @@ on success. If an error occurs, .Fn realpath returns -.Dv NULL , -and +.Dv NULL +and the contents of .Fa resolved -contains the pathname which caused the problem. +are undefined. .Sh ERRORS The function .Fn realpath |