|
|
@ -1728,10 +1728,6 @@ int main(int argc, char *argv[])
|
|
|
|
printf(term_end());
|
|
|
|
printf(term_end());
|
|
|
|
fflush(stdout);
|
|
|
|
fflush(stdout);
|
|
|
|
|
|
|
|
|
|
|
|
/* Test recursive mutex locking. */
|
|
|
|
|
|
|
|
if (test_for_thread_safety())
|
|
|
|
|
|
|
|
ast_verbose("Warning! Asterisk is not thread safe.\n");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (option_console && !option_verbose)
|
|
|
|
if (option_console && !option_verbose)
|
|
|
|
ast_verbose("[ Reading Master Configuration ]");
|
|
|
|
ast_verbose("[ Reading Master Configuration ]");
|
|
|
|
ast_readconfig();
|
|
|
|
ast_readconfig();
|
|
|
@ -1796,6 +1792,10 @@ int main(int argc, char *argv[])
|
|
|
|
ast_log(LOG_WARNING, "Unable to open pid file '%s': %s\n", (char *)ast_config_AST_PID, strerror(errno));
|
|
|
|
ast_log(LOG_WARNING, "Unable to open pid file '%s': %s\n", (char *)ast_config_AST_PID, strerror(errno));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Test recursive mutex locking. */
|
|
|
|
|
|
|
|
if (test_for_thread_safety())
|
|
|
|
|
|
|
|
ast_verbose("Warning! Asterisk is not thread safe.\n");
|
|
|
|
|
|
|
|
|
|
|
|
ast_makesocket();
|
|
|
|
ast_makesocket();
|
|
|
|
sigemptyset(&sigs);
|
|
|
|
sigemptyset(&sigs);
|
|
|
|
sigaddset(&sigs, SIGHUP);
|
|
|
|
sigaddset(&sigs, SIGHUP);
|
|
|
|