summaryrefslogtreecommitdiffstats
path: root/SOURCES/bash-4.0-async-bnc523667.dif
blob: 1b4e162099ac0906c1820cc788b52ef50c234ce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- jobs.c
+++ jobs.c	2009-09-09 17:38:46.286401756 +0200
@@ -626,6 +626,7 @@ stop_pipeline (async, deferred)
       if (newjob)
 	{
 	  newjob->flags |= J_FOREGROUND;
+#if !defined(__linux__)
 	  /*
 	   *		!!!!! NOTE !!!!!  (chet@ins.cwru.edu)
 	   *
@@ -640,6 +641,7 @@ stop_pipeline (async, deferred)
 	   */
 	  if (job_control && newjob->pgrp && (subshell_environment&SUBSHELL_ASYNC) == 0)
 	    maybe_give_terminal_to (shell_pgrp, newjob->pgrp, 0);
+#endif
 	}
     }