automerge commit

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@24049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Automerge script
2006-05-01 21:05:01 +00:00
parent 1a02e1b9c1
commit 622352f2c9
9 changed files with 29 additions and 0 deletions

View File

@@ -443,6 +443,8 @@ int ast_safe_system(const char *s)
pid = fork();
if (pid == 0) {
if (option_highpriority)
ast_set_priority(0);
/* Close file descriptors and launch system command */
for (x = STDERR_FILENO + 1; x < 4096; x++)
close(x);