Subject: misc/6711: symlink(2) man page mods
To: None <gnats-bugs@gnats.netbsd.org>
From: None <bgrayson@ece.utexas.edu>
List: netbsd-bugs
Date: 01/02/1999 01:21:31
>Number: 6711
>Category: misc
>Synopsis: symlink(2) man page mods
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 1 23:35:00 1999
>Last-Modified:
>Originator: Brian Grayson
>Organization:
Parallel and Distributed Systems
Electrical and Computer Engineering
The University of Texas at Austin
>Release: Dec 31 1998
>Environment:
>Description:
The symlink man page contains an entry for error code
ENOENT, which (I believe) is impossible to achieve using
symlink(). Also, it could be clarified that the contents
of the symlink do not need to point to an existing file.
>How-To-Repeat:
>Fix:
--- symlink.2.dist Sat Jan 2 01:16:45 1999
+++ symlink.2 Sat Jan 2 01:17:52 1999
@@ -55,7 +55,9 @@
is the string
used in creating the symbolic link).
Either name may be an arbitrary path name; the files need not
-be on the same file system.
+be on the same file system, and
+.Fa name1
+does not need to exist.
.Sh RETURN VALUES
Upon successful completion, a zero value is returned.
If an error occurs, the error code is stored in
@@ -74,8 +76,6 @@
characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
-.It Bq Er ENOENT
-The named file does not exist.
.It Bq Er EACCES
A component of the
.Fa name2
>Audit-Trail:
>Unformatted: