More work on improving interaction between fork and pthreads. Added null_terminated_array_t class.

This commit is contained in:
ridiculousfish
2012-02-28 15:11:46 -08:00
parent 4e912ef83d
commit 909d24cde6
15 changed files with 576 additions and 530 deletions

View File

@@ -317,7 +317,7 @@ int input_init()
if( setupterm( 0, STDOUT_FILENO, 0) == ERR )
{
debug( 0, _( L"Could not set up terminal" ) );
exit(1);
exit_without_destructors(1);
}
const env_var_t term = env_get_string( L"TERM" );
assert(! term.missing());