[exim-dev] [Bug 968] Programs run due by pipe transport get …

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Git Commit
Dátum:  
Címzett: exim-dev
Régi témák: [exim-dev] [Bug 968] New: Programs run due by pipe transport get SIGPIPE set to IGN
Tárgy: [exim-dev] [Bug 968] Programs run due by pipe transport get SIGPIPE set to IGN
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=968

Git Commit <git@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |git@???





--- Comment #3 from Git Commit <git@???> 2011-01-30 16:17:07 ---
Git commit:
http://git.exim.org/exim.git/commitdiff/605021fc4f501f97e5ec21db406f6ffde2f68cdd

commit 605021fc4f501f97e5ec21db406f6ffde2f68cdd
Author:     Nigel Metheringham <nigel@???>
AuthorDate: Sun Jan 30 15:25:28 2011 +0000
Commit:     Nigel Metheringham <nigel@???>
CommitDate: Sun Jan 30 15:32:31 2011 +0000


    child_open_uid: restore default SIGPIPE handler


    Fixes bug 968
    Merge branch 'sigpipe-fix' of git://github.com/lp0/exim into master
---
 src/src/child.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/src/src/child.c b/src/src/child.c
index 0c1fd6d..675a91b 100644
--- a/src/src/child.c
+++ b/src/src/child.c
@@ -340,6 +340,7 @@ output when things go wrong. */
if (pid == 0)
{
signal(SIGUSR1, SIG_IGN);
+ signal(SIGPIPE, SIG_DFL);

   if (newgid != NULL && setgid(*newgid) < 0)
     {



--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email