diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-10 07:52:34 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-10 07:52:34 +0000 |
commit | 4f9031b890c6811e93212470a8ede812f8a9e9e5 (patch) | |
tree | c762e27fb7af1bc4910cde4344c9215695fc2f14 /main/logger.c | |
parent | ca505aea6632ce46ba5e2a07f377b7ecec59fbb9 (diff) |
Ensure restartable system calls can restart (BSD signal semantics)
This eliminates the annoying <beep> on the console.
(closes issue #17477)
Reported by: jvandal
Patches:
20100610__issue17477.diff.txt uploaded by tilghman (license 14)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@269635 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/logger.c')
-rw-r--r-- | main/logger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/logger.c b/main/logger.c index c0df0d00c..741ffb96a 100644 --- a/main/logger.c +++ b/main/logger.c @@ -584,6 +584,7 @@ static void _handle_SIGXFSZ(int sig) static struct sigaction handle_SIGXFSZ = { .sa_handler = _handle_SIGXFSZ, + .sa_flags = SA_RESTART, }; int init_logger(void) |