mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 00:21:15 -03:00
Some initial work towards resolving nasty fork/pthread issues, and to having a per-parser job list
This commit is contained in:
4
fish.cpp
4
fish.cpp
@@ -260,7 +260,6 @@ static int fish_parse_opt( int argc, char **argv, const char **cmd_ptr )
|
||||
return my_optind;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Calls a bunch of init functions, parses the init files and then
|
||||
parses commands from stdin or files, depending on arguments
|
||||
@@ -274,7 +273,8 @@ int main( int argc, char **argv )
|
||||
int my_optind=0;
|
||||
|
||||
set_main_thread();
|
||||
|
||||
setup_fork_guards();
|
||||
|
||||
wsetlocale( LC_ALL, L"" );
|
||||
is_interactive_session=1;
|
||||
program_name=L"fish";
|
||||
|
||||
Reference in New Issue
Block a user