Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys It is MAXNAMLEN, not MAXPATHLEN, that NAME_MAX has t...



details:   https://anonhg.NetBSD.org/src/rev/20c2b08258ec
branches:  trunk
changeset: 783135:20c2b08258ec
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Dec 07 07:06:39 2012 +0000

description:
It is MAXNAMLEN, not MAXPATHLEN, that NAME_MAX has to be the same as.

diffstat:

 sys/sys/syslimits.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2e00385420b0 -r 20c2b08258ec sys/sys/syslimits.h
--- a/sys/sys/syslimits.h       Fri Dec 07 06:50:15 2012 +0000
+++ b/sys/sys/syslimits.h       Fri Dec 07 07:06:39 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syslimits.h,v 1.26 2011/09/27 01:51:42 christos Exp $  */
+/*     $NetBSD: syslimits.h,v 1.27 2012/12/07 07:06:39 dholland Exp $  */
 
 /*
  * Copyright (c) 1988, 1993
@@ -47,7 +47,7 @@
 #define        MAX_CANON                 255   /* max bytes in term canon input line */
 #define        MAX_INPUT                 255   /* max bytes in terminal input */
 #define        NAME_MAX                  511   /* max bytes in a file name, must be */
-                                       /* kept in sync with MAXPATHLEN */
+                                       /* kept in sync with MAXNAMLEN */
 #define        NGROUPS_MAX                16   /* max supplemental group id's */
 #define        UID_MAX            2147483647U  /* max value for a uid_t (2^31-2) */
 #ifndef OPEN_MAX



Home | Main Index | Thread Index | Old Index