From 2e113f29f4947615ead2b64ed8a84dfc2d8d53e9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 12 Nov 2014 18:54:35 -0600 Subject: task_start() no longer depends on CONFIG_MAX_TASK_ARGS --- nuttx/sched/task/task_start.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nuttx/sched/task') diff --git a/nuttx/sched/task/task_start.c b/nuttx/sched/task/task_start.c index 1317d9a4e..c608b16cf 100644 --- a/nuttx/sched/task/task_start.c +++ b/nuttx/sched/task/task_start.c @@ -52,6 +52,11 @@ /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ +/* This is an artificial limit to detect error conditions where an argv[] + * list is not properly terminated. + */ + +#define MAX_START_ARGS 256 /**************************************************************************** * Private Type Declarations -- cgit v1.2.3