Ignore signals in select, fix typo in last patch

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-12-27 23:46:19 +00:00
parent b7bd21bc0a
commit 148edfcf26
2 changed files with 3 additions and 2 deletions

View File

@@ -169,7 +169,7 @@ static int launch_script(char *script, char *args, int *fds, int *efd, int *opid
close(fromast[0]);
// [PHM 12/18/03]
close(audio[0])
close(audio[0]);
*opid = pid;
return 0;

View File

@@ -614,6 +614,7 @@ static void *do_monitor(void *data)
pthread_testcancel();
/* Okay, select has finished. Let's see what happened. */
if (res < 1) {
if ((errno != EINTR) && (errno != EAGAIN))
ast_log(LOG_WARNING, "select return %d: %s\n", res, strerror(errno));
continue;
}