Module Name: src
Committed By: wiz
Date: Thu Apr 29 07:31:02 UTC 2010
Modified Files:
src/lib/libc/sys: utimes.2
Log Message:
Sort errors.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libc/sys/utimes.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/utimes.2
diff -u src/lib/libc/sys/utimes.2:1.24 src/lib/libc/sys/utimes.2:1.25
--- src/lib/libc/sys/utimes.2:1.24 Thu Apr 29 07:14:35 2010
+++ src/lib/libc/sys/utimes.2 Thu Apr 29 07:31:02 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: utimes.2,v 1.24 2010/04/29 07:14:35 jruoho Exp $
+.\" $NetBSD: utimes.2,v 1.25 2010/04/29 07:31:02 wiz Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -124,9 +124,9 @@
Too many symbolic links were encountered in translating the pathname.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded
-.Dv {NAME_MAX}
+.Brq Dv NAME_MAX
characters, or an entire path name exceeded
-.Dv {PATH_MAX}
+.Brq Dv PATH_MAX
characters.
.It Bq Er ENOENT
The named file does not exist.
@@ -146,9 +146,6 @@
.Fn futimes
will fail if:
.Bl -tag -width Er
-.It Bq Er EBADF
-.Fa fd
-does not refer to a valid descriptor.
.It Bq Er EACCES
The
.Fa times
@@ -157,6 +154,9 @@
and the effective user ID of the process does not
match the owner of the file, and is not the super-user, and write
access is denied.
+.It Bq Er EBADF
+.Fa fd
+does not refer to a valid descriptor.
.It Bq Er EFAULT
.Fa times
points outside the process's allocated address space.