Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Do not use hard-coded values with ENAMETOOLONG, ...
details: https://anonhg.NetBSD.org/src/rev/704594fcc797
branches: trunk
changeset: 333118:704594fcc797
user: njoly <njoly%NetBSD.org@localhost>
date: Sun Oct 19 16:47:51 2014 +0000
description:
Do not use hard-coded values with ENAMETOOLONG, use symbolic constants
instead.
diffstat:
lib/libc/gen/utime.3 | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 9bfe4ce6479a -r 704594fcc797 lib/libc/gen/utime.3
--- a/lib/libc/gen/utime.3 Sun Oct 19 16:38:21 2014 +0000
+++ b/lib/libc/gen/utime.3 Sun Oct 19 16:47:51 2014 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: utime.3,v 1.21 2010/04/29 17:07:00 jruoho Exp $
+.\" $NetBSD: utime.3,v 1.22 2014/10/19 16:47:51 njoly Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -111,8 +111,12 @@
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er ENAMETOOLONG
-A component of a pathname exceeded 255 characters,
-or an entire path name exceeded 1023 characters.
+A component of a pathname exceeded
+.Brq Dv NAME_MAX
+characters,
+or an entire path name exceeded
+.Brq Dv PATH_MAX
+characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er ENOTDIR
Home |
Main Index |
Thread Index |
Old Index