mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 18:51:15 -03:00
Support for stack overflow and infinite recursion detection in new
parser
This commit is contained in:
3
proc.cpp
3
proc.cpp
@@ -136,7 +136,8 @@ static bool proc_had_barrier = false;
|
||||
int get_is_interactive(void)
|
||||
{
|
||||
ASSERT_IS_MAIN_THREAD();
|
||||
return is_interactive;
|
||||
// The tests leave is_interactive as -1, which is interpreted as true. So let's have them default to false.
|
||||
return is_interactive > 0;
|
||||
}
|
||||
|
||||
bool get_proc_had_barrier()
|
||||
|
||||
Reference in New Issue
Block a user