Module Name:    src
Committed By:   wiz
Date:           Sun Sep  5 22:44:15 UTC 2010

Modified Files:
        src/lib/libc/sys: open.2

Log Message:
Explain how O_NOFOLLOW may cause EFTYPE. From joerg.
While here, sort errors. Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/lib/libc/sys/open.2

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/sys/open.2
diff -u src/lib/libc/sys/open.2:1.42 src/lib/libc/sys/open.2:1.43
--- src/lib/libc/sys/open.2:1.42	Mon May 31 12:16:20 2010
+++ src/lib/libc/sys/open.2	Sun Sep  5 22:44:15 2010
@@ -1,4 +1,4 @@
-.\"	$NetBSD: open.2,v 1.42 2010/05/31 12:16:20 njoly Exp $
+.\"	$NetBSD: open.2,v 1.43 2010/09/05 22:44:15 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)open.2	8.2 (Berkeley) 11/16/93
 .\"
-.Dd April 3, 2010
+.Dd September 5, 2010
 .Dt OPEN 2
 .Os
 .Sh NAME
@@ -258,6 +258,9 @@
 .It Bq Er EFAULT
 .Fa path
 points outside the process's allocated address space.
+.It Bq Er EFTYPE
+.Dv O_NOFOLLOW
+was specified, but the last path component is a symlink.
 .It Bq Er EINTR
 The
 .Fn open
@@ -279,12 +282,12 @@
 characters, or an entire path name exceeded
 .Brq Dv PATH_MAX
 characters.
+.It Bq Er ENFILE
+The system file table is full.
 .It Bq Er ENOENT
 .Dv O_CREAT
 is not set and the named file does not exist, or
 a component of the path name that must exist does not exist.
-.It Bq Er ENFILE
-The system file table is full.
 .It Bq Er ENOSPC
 .Dv O_CREAT
 is specified,

Reply via email to