limits.h: ncrease ARG_MAX

The limit was set when creating limits.h back in hrev88. It seems to be
used only in glob(). The limit is quite low by today standards and
prevents building icu 67.

I guess the liit was put at 32K because that's what BeOS did, but I see
no reason to keep it that way.

Change-Id: I74f95d9b56891dd90c79b7ced35ca8d1ec81d6ab
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3117
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Adrien Destugues
2020-08-01 17:37:01 +00:00
committed by waddlesplash
parent c17fa27430
commit 4bfc0072e3
+2 -2
View File
@@ -24,7 +24,7 @@
#define OFF_MAX LLONG_MAX
#define OFF_MIN LLONG_MIN
#define ARG_MAX (32768)
#define ARG_MAX (128 * 1024)
#define ATEXIT_MAX (32)
#define CHILD_MAX (1024)
#define IOV_MAX (1024)
@@ -50,7 +50,7 @@
#define SYMLINK_MAX (1024)
#define SYMLOOP_MAX (16)
#define _POSIX_ARG_MAX (32768)
#define _POSIX_ARG_MAX (128 * 1024)
#define _POSIX_CHILD_MAX (1024)
#define _POSIX_HOST_NAME_MAX (255)
#define _POSIX_LINK_MAX (1)