aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_indent.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-07 11:35:22 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-07 11:35:22 -0800
commitce859c9e92cc50f9b4ff20edfec8e905c298d29a (patch)
treee5e6a01755ac10d433588b5b0528c0e82d8eed8a /fish_indent.cpp
parent8ed20f3c28fd194762afe2b859e0b3cacc066e61 (diff)
Added some missing calls to setup_fork_guards() in utilities.
Made echo a builtin
Diffstat (limited to 'fish_indent.cpp')
-rw-r--r--fish_indent.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/fish_indent.cpp b/fish_indent.cpp
index 6c0f65f3..c99c7a9e 100644
--- a/fish_indent.cpp
+++ b/fish_indent.cpp
@@ -279,7 +279,9 @@ static void trim( wcstring &str )
int main( int argc, char **argv )
{
int do_indent=1;
- set_main_thread();
+ set_main_thread();
+ setup_fork_guards();
+
wsetlocale( LC_ALL, L"" );
program_name=L"fish_indent";