billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=978f83dc035e8fc91a2b667d21c7acc04fa83dc9

commit 978f83dc035e8fc91a2b667d21c7acc04fa83dc9
Author: Boris Faure <bill...@gmail.com>
Date:   Sun Sep 28 13:45:15 2014 +0200

    just sighup the shell, don't sigpipe it. Closes T1685
---
 src/bin/termpty.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index f4959cc..90ffd92 100644
--- a/src/bin/termpty.c
+++ b/src/bin/termpty.c
@@ -500,11 +500,11 @@ termpty_free(Termpty *ty)
    if (ty->pid >= 0)
      {
         int i;
-        
+
         // in case someone stopped the child - cont it
         kill(ty->pid, SIGCONT);
-        // signpipe for shells
-        kill(ty->pid, SIGPIPE);
+        // sighup the shell
+        kill(ty->pid, SIGHUP);
         // try 400 time (sleeping for 1ms) to check for death of child
         for (i = 0; i < 400; i++)
           {

-- 


Reply via email to