mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
limits.h: modify _POSIX_OPEN_MAX to 255
N/A fix ltp/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/speculative/26-1.c:46:8: error: size of array 'queue' is negative mqd_t queue[_POSIX_OPEN_MAX + _POSIX_MQ_OPEN_MAX + 1]; Change-Id: I1185ea9f84752aaa0150689b5801d01c3f52c598 Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
+2
-2
@@ -135,10 +135,10 @@
|
||||
#define _POSIX_MAX_INPUT 255
|
||||
#define _POSIX_NAME_MAX CONFIG_NAME_MAX
|
||||
#define _POSIX_NGROUPS_MAX 0
|
||||
#define _POSIX_OPEN_MAX INT_MAX
|
||||
#define _POSIX_OPEN_MAX 255
|
||||
#define _POSIX_PATH_MAX CONFIG_PATH_MAX
|
||||
#define _POSIX_PIPE_BUF 512
|
||||
#define _POSIX_STREAM_MAX INT_MAX
|
||||
#define _POSIX_STREAM_MAX 255
|
||||
#define _POSIX_TZNAME_MAX 3
|
||||
|
||||
#ifdef CONFIG_SMALL_MEMORY
|
||||
|
||||
Reference in New Issue
Block a user