Source-Changes-HG archive

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

[src/trunk]: src/include As of IEEE (POSIX) 1003.1-2001, _POSIX_PATH_MAX must...



details:   https://anonhg.NetBSD.org/src/rev/d40820bb5511
branches:  trunk
changeset: 534841:d40820bb5511
user:      soren <soren%NetBSD.org@localhost>
date:      Sun Aug 04 05:22:34 2002 +0000

description:
As of IEEE (POSIX) 1003.1-2001, _POSIX_PATH_MAX must be at least 256 rather
than 255 and is now defined to include the terminating NUL.

diffstat:

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

diffs (18 lines):

diff -r 0bdcfb4e2b8d -r d40820bb5511 include/limits.h
--- a/include/limits.h  Sun Aug 04 05:02:22 2002 +0000
+++ b/include/limits.h  Sun Aug 04 05:22:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.13 1999/09/27 16:24:39 kleink Exp $       */
+/*     $NetBSD: limits.h,v 1.14 2002/08/04 05:22:34 soren Exp $        */
 
 /*
  * Copyright (c) 1988, 1993
@@ -48,7 +48,7 @@
 #define        _POSIX_NAME_MAX         14
 #define        _POSIX_NGROUPS_MAX      0
 #define        _POSIX_OPEN_MAX         16
-#define        _POSIX_PATH_MAX         255
+#define        _POSIX_PATH_MAX         256
 #define        _POSIX_PIPE_BUF         512
 #define        _POSIX_SSIZE_MAX        32767
 #define        _POSIX_STREAM_MAX       8



Home | Main Index | Thread Index | Old Index