aboutsummaryrefslogtreecommitdiff
path: root/security/putty/files/patch-unix__uxpgnt.c
blob: 3ef98d5849fa10f74c83474513cd68f7234a7a78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- uxpgnt.c.orig	2017-03-16 03:33:18.000000000 +0000
+++ uxpgnt.c	2017-03-16 03:33:18.000000000 +0000
@@ -270,7 +270,7 @@
         /* Get out of our previous process group, to avoid being
          * blasted by passing signals. But keep our controlling tty,
          * so we can keep checking to see if we still have one. */
-        setpgrp();
+        setpgrp(0,0);
     } else {
         /* Do that, but also leave our entire session and detach from
          * the controlling tty (if any). */