summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsoren <soren@NetBSD.org>2002-08-04 05:22:34 +0000
committersoren <soren@NetBSD.org>2002-08-04 05:22:34 +0000
commitc6f042d6fc79f7b4a647876e49d8cfbb36725f43 (patch)
treec813a4dd0dff4a112d29ef824c8e12267b248184 /include
parent6e896a4a742155d43819446a5bce6333b00103a9 (diff)
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 (limited to 'include')
-rw-r--r--include/limits.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/limits.h b/include/limits.h
index e16aefdc274..d93282406d9 100644
--- a/include/limits.h
+++ b/include/limits.h
@@ -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