23 lines
563 B
Plaintext
23 lines
563 B
Plaintext
---
|
|
jobs.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- jobs.c
|
|
+++ jobs.c 2009-09-09 15:38:46.286401756 +0000
|
|
@@ -681,6 +681,7 @@ stop_pipeline (async, deferred)
|
|
if (newjob)
|
|
{
|
|
newjob->flags |= J_FOREGROUND;
|
|
+#if !defined(__linux__)
|
|
/*
|
|
* !!!!! NOTE !!!!! (chet@ins.cwru.edu)
|
|
*
|
|
@@ -696,6 +697,7 @@ stop_pipeline (async, deferred)
|
|
*/
|
|
if (job_control && newjob->pgrp && (subshell_environment&SUBSHELL_ASYNC) == 0 && running_in_background == 0)
|
|
maybe_give_terminal_to (shell_pgrp, newjob->pgrp, 0);
|
|
+#endif
|
|
}
|
|
}
|
|
|