merge markster's usersconf branch with some slight changes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-09-16 23:53:58 +00:00
parent e887127bf3
commit c2c4f86c72
15 changed files with 770 additions and 282 deletions

View File

@@ -649,10 +649,14 @@ int ast_safe_system(const char *s)
struct rusage rusage;
int status;
#if HAVE_WORKING_FORK
ast_replace_sigchld();
#if defined(HAVE_WORKING_FORK) || defined(HAVE_WORKING_VFORK)
ast_replace_sigchld();
#ifdef HAVE_WORKING_VFORK
pid = vfork();
#else
pid = fork();
#endif
if (pid == 0) {
if (ast_opt_high_priority)