From a4b685dc2e06d5316ed0fe022c3726c529c96d21 Mon Sep 17 00:00:00 2001 From: tholo <> Date: Sat, 26 Oct 1996 03:12:45 +0000 Subject: [PATCH] Correct a typo in _POSIX_SSIZE_MAX Correct _POSIX_ARG_MAX; it should define the minimum allowed argument size, not the supported on (we have sysconf for that) --- src/include/limits.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/limits.h b/src/include/limits.h index 0a70fb81..76f5714a 100644 --- a/src/include/limits.h +++ b/src/include/limits.h @@ -39,7 +39,7 @@ #define _LIMITS_H_ #if !defined(_ANSI_SOURCE) -#define _POSIX_ARG_MAX 262144 +#define _POSIX_ARG_MAX 4096 #define _POSIX_CHILD_MAX 6 #define _POSIX_LINK_MAX 8 #define _POSIX_MAX_CANON 255 @@ -49,7 +49,7 @@ #define _POSIX_OPEN_MAX 16 #define _POSIX_PATH_MAX 255 #define _POSIX_PIPE_BUF 512 -#define _POSIX_SSIZE_MAX 32727 +#define _POSIX_SSIZE_MAX 32767 #define _POSIX_STREAM_MAX 8 #define _POSIX_TZNAME_MAX 3