Browse Source

Do not promise anything about the contents of resolved on failure.

ok millert@
OPENBSD_3_8
otto 19 years ago
parent
commit
e73b3e19e1
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/lib/libc/stdlib/realpath.3

+ 4
- 4
src/lib/libc/stdlib/realpath.3 View File

@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" 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 .Dd February 16, 1994
.Dt REALPATH 3 .Dt REALPATH 3
@ -81,10 +81,10 @@ on success.
If an error occurs, If an error occurs,
.Fn realpath .Fn realpath
returns returns
.Dv NULL ,
and
.Dv NULL
and the contents of
.Fa resolved .Fa resolved
contains the pathname which caused the problem.
are undefined.
.Sh ERRORS .Sh ERRORS
The function The function
.Fn realpath .Fn realpath


Loading…
Cancel
Save