Fix to avoid calling signal_block off of hte main thread

This commit is contained in:
ridiculousfish
2012-02-18 23:26:39 -08:00
parent ca1c8243c8
commit d8a9991738
6 changed files with 15 additions and 5 deletions

View File

@@ -404,7 +404,8 @@ void history_t::load_old_if_needed(void)
int fd;
int ok=0;
signal_block();
// PCA not sure why signals were blocked here
//signal_block();
wcstring filename = history_filename(name, L"");
if( ! filename.empty() )
@@ -427,7 +428,7 @@ void history_t::load_old_if_needed(void)
close( fd );
}
}
signal_unblock();
//signal_unblock();
}
void history_search_t::skip_matches(const wcstring_list_t &skips) {