Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/lib/libc/gen Pull up revision 1.12 (requested by elad in ...



details:   https://anonhg.NetBSD.org/src/rev/85c970b42137
branches:  netbsd-3
changeset: 576935:85c970b42137
user:      riz <riz%NetBSD.org@localhost>
date:      Sun Aug 14 22:08:43 2005 +0000

description:
Pull up revision 1.12 (requested by elad in ticket #648):
Don't allow last path element to be nonexistant.

diffstat:

 lib/libc/gen/realpath.3 |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (30 lines):

diff -r ad026875681a -r 85c970b42137 lib/libc/gen/realpath.3
--- a/lib/libc/gen/realpath.3   Sun Aug 14 21:44:31 2005 +0000
+++ b/lib/libc/gen/realpath.3   Sun Aug 14 22:08:43 2005 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: realpath.3,v 1.11 2003/08/07 16:42:55 agc Exp $
+.\"    $NetBSD: realpath.3,v 1.11.6.1 2005/08/14 22:08:43 riz Exp $
 .\"
 .\" Copyright (c) 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"     from: @(#)realpath.3   8.2 (Berkeley) 2/16/94
 .\"
-.Dd February 16, 1994
+.Dd August 13, 2005
 .Dt REALPATH 3
 .Os
 .Sh NAME
@@ -72,11 +72,6 @@
 function will resolve both absolute and relative paths
 and return the absolute pathname corresponding to
 .Fa pathname .
-All but the last component of
-.Fa pathname
-must exist when
-.Fn realpath
-is called.
 .Sh RETURN VALUES
 The
 .Fn realpath



Home | Main Index | Thread Index | Old Index