SHA256
3
0
forked from pool/bash
bash/bash-4.0-async-bnc523667.dif

19 lines
477 B
Plaintext
Raw Normal View History

--- 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
}
}