Module Name:    src
Committed By:   soda
Date:           Tue Mar  5 02:46:33 UTC 2013

Modified Files:
        src/lib/libc/gen: realpath.3

Log Message:
a sequel to getcwd.c revision 1.52 and realpath.3 revision 1.13 by christos:
explicitly mention that NULL is allowed as second argument
in the description part as well.

PR/46618: Onno van der Linden: realpath(3) isn't SUSv4 compliant (and causes
flactag 2.0.4 to dump core). Fix to accept a NULL argument for resolvedpath.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libc/gen/realpath.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/gen/realpath.3
diff -u src/lib/libc/gen/realpath.3:1.14 src/lib/libc/gen/realpath.3:1.15
--- src/lib/libc/gen/realpath.3:1.14	Thu Jun 21 21:35:25 2012
+++ src/lib/libc/gen/realpath.3	Tue Mar  5 02:46:33 2013
@@ -1,4 +1,4 @@
-.\"	$NetBSD: realpath.3,v 1.14 2012/06/21 21:35:25 wiz Exp $
+.\"	$NetBSD: realpath.3,v 1.15 2013/03/05 02:46:33 soda Exp $
 .\"
 .\" Copyright (c) 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -65,7 +65,8 @@ argument
 .Em must
 refer to a buffer capable of storing at least
 .Dv MAXPATHLEN
-characters.
+characters, or be
+.Dv NULL .
 .Pp
 The
 .Fn realpath

Reply via email to