summaryrefslogtreecommitdiffstats
path: root/SOURCES/bash-4.0-async-bnc523667.dif
diff options
context:
space:
mode:
authorPete Travis <immanetize@fedoraproject.org>2014-10-01 11:59:35 -0600
committerPete Travis <immanetize@fedoraproject.org>2014-10-01 11:59:35 -0600
commit4a895d111d1b13ddb624a8d055d217e695361447 (patch)
tree03c8d4640a38d58fbdc5c8ef5458a2613f55e3fb /SOURCES/bash-4.0-async-bnc523667.dif
parentf5afed3fb60ea2a362cfd696b9edf259ca33e1da (diff)
downloadrpmbuild-sles11.2-bash.tar.gz
rpmbuild-sles11.2-bash.tar.xz
rpmbuild-sles11.2-bash.zip
sles 11.2 bash, in wholesles11.2-bash
Diffstat (limited to 'SOURCES/bash-4.0-async-bnc523667.dif')
-rw-r--r--SOURCES/bash-4.0-async-bnc523667.dif18
1 files changed, 18 insertions, 0 deletions
diff --git a/SOURCES/bash-4.0-async-bnc523667.dif b/SOURCES/bash-4.0-async-bnc523667.dif
new file mode 100644
index 0000000..1b4e162
--- /dev/null
+++ b/SOURCES/bash-4.0-async-bnc523667.dif
@@ -0,0 +1,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
+ }
+ }
+