Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
3e09e978
...
3e09e9781889469eac4d8ed080ecd7d60c69b4f7
authored
2002-11-08 15:57:39 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fixed indentation
1 parent
470d88d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
imap4d/signal.c
imap4d/signal.c
View file @
3e09e97
...
...
@@ -25,8 +25,8 @@ imap4d_sigchld (int signo)
pid_t
pid
;
int
status
;
while
(
(
pid
=
waitpid
(
-
1
,
&
status
,
WNOHANG
))
>
0
)
--
children
;
while
(
(
pid
=
waitpid
(
-
1
,
&
status
,
WNOHANG
))
>
0
)
--
children
;
#ifndef HAVE_SIGACTION
/* On some system, signal implements the unreliable semantic and
has to be rearm. */
...
...
@@ -43,22 +43,19 @@ imap4d_signal (int signo)
/* Master process. */
if
(
!
ofile
)
{
syslog
(
LOG_CRIT
,
"MASTER: exiting on signal"
);
exit
(
1
);
/* abort(); */
syslog
(
LOG_CRIT
,
"MASTER: exiting on signal"
);
exit
(
1
);
/* abort(); */
}
switch
(
signo
)
{
case
SIGALRM
:
imap4d_bye
(
ERR_TIMEOUT
);
imap4d_bye
(
ERR_TIMEOUT
);
case
SIGPIPE
:
exit
(
0
);
default:
imap4d_bye
(
ERR_SIGNAL
);
}
imap4d_bye
(
ERR_SIGNAL
);
}
}
...
...
Please
register
or
sign in
to post a comment