projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70fd0d3
)
src/mail-sendmail.c: Apparently SIGCHLD needs to be SIG_DFL, not SIG_IGN.
author
Michael Poole
<mdpoole@troilus.org>
Mon, 24 Mar 2008 02:34:11 +0000
(22:34 -0400)
committer
Michael Poole
<mdpoole@troilus.org>
Mon, 24 Mar 2008 02:34:11 +0000
(22:34 -0400)
src/mail-sendmail.c
patch
|
blob
|
history
diff --git
a/src/mail-sendmail.c
b/src/mail-sendmail.c
index ce2538e4d9c1c8e4a11b2cf1de6fa7c7333844ae..5da1fc96e0b485a35806b8de8b2401ca8d673a0d 100644
(file)
--- a/
src/mail-sendmail.c
+++ b/
src/mail-sendmail.c
@@
-94,10
+94,10
@@
mail_send(struct userNode *from, struct handle_info *to, const char *subject, co
} else if (child > 0) {
return;
}
- /* Re
place the old SIGCHLD signal handler
. */
+ /* Re
set the SIGCHLD signal handler to the default
. */
memset(&sv, 0, sizeof(sv));
sigemptyset(&sv.sa_mask);
- sv.sa_handler = SIG_
IGN
;
+ sv.sa_handler = SIG_
DFL
;
sigaction(SIGCHLD, &sv, NULL);
/* We're in a child now; must _exit() to die properly. */
if (pipe(infds) < 0) {