Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions system/cu/cu_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
#include <stdlib.h>
#include <signal.h>
#include <debug.h>
#include <nuttx/sched.h>

#include "system/readline.h"

Expand Down Expand Up @@ -125,6 +126,7 @@ static FAR void *cu_listener(FAR void *parameter)
#ifdef CONFIG_ENABLE_ALL_SIGNALS
static void sigint(int sig)
{
FAR siginfo_t *siginfo = nxsched_self()->sigunbinfo;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the fix isn't right, let's use this pr #3349

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

FAR struct cu_globals_s *cu = siginfo->si_user;
cu->force_exit = true;
}
Expand Down
Loading