aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-27 18:43:24 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-27 18:43:24 -0800
commitfdfa5c06028d3473f57cea497a6682a8e550352f (patch)
treef822ccc211dd331c2b0d99949d0e4288fded0eef /fish.cpp
parent50ee5d28cdc5b521f2d2feda264ec798e8f3ab8e (diff)
Some initial work towards resolving nasty fork/pthread issues, and to having a per-parser job list
Diffstat (limited to 'fish.cpp')
-rw-r--r--fish.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fish.cpp b/fish.cpp
index 29c1ccf4..67448e00 100644
--- a/fish.cpp
+++ b/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";