diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-06-09 17:32:11 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-06-09 17:32:11 +0000 |
commit | c238b270c67623d00936cd77a1e88e61fc260eb2 (patch) | |
tree | 1dda706b34b5211b657a4a8573c1fd3292a9a8e5 /include | |
parent | e04517cc35363d9b03a6624d0252e326c11b9bf6 (diff) |
According to POSIX, _POSIX_PATH_MAX should be 256 but _POSIX_SYMLINK_MAX
should only be 255. You would think they would be the same but you'd be
wrong.
Diffstat (limited to 'include')
-rw-r--r-- | include/limits.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/limits.h b/include/limits.h index 82c0e8ab1d3..5784cf192f3 100644 --- a/include/limits.h +++ b/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.10 2004/05/31 18:34:41 millert Exp $ */ +/* $OpenBSD: limits.h,v 1.11 2004/06/09 17:32:10 millert Exp $ */ /* $NetBSD: limits.h,v 1.7 1994/10/26 00:56:00 cgd Exp $ */ /* @@ -44,12 +44,12 @@ #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_RE_DUP_MAX 255 #define _POSIX_SSIZE_MAX 32767 #define _POSIX_STREAM_MAX 8 -#define _POSIX_SYMLINK_MAX _POSIX_PATH_MAX +#define _POSIX_SYMLINK_MAX 255 #define _POSIX_SYMLOOP_MAX 8 #define _POSIX_TZNAME_MAX 3 |