.
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=92
This commit is contained in:
parent
e2bd345208
commit
0bbff2ba96
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 9 09:47:38 UTC 2012 - werner@suse.de
|
||||
|
||||
- Add patch from David Korn to fix foreground job control (bnc #743244)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 6 12:01:10 UTC 2012 - werner@suse.de
|
||||
|
||||
|
2
ksh.spec
2
ksh.spec
@ -82,6 +82,7 @@ Patch19: ksh93-reg.dif
|
||||
Patch20: ksh93-aso.dif
|
||||
Patch21: ksh93-vm.dif
|
||||
Patch22: ksh93-limit-name-len.dif
|
||||
Patch23: ksh93-foreground-prgrp.dif
|
||||
Patch42: ksh-locale.patch
|
||||
%global use_suid_exe 0
|
||||
%global use_locale 0
|
||||
@ -160,6 +161,7 @@ fi
|
||||
%patch20
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23
|
||||
|
||||
%build
|
||||
#
|
||||
|
13
ksh93-foreground-prgrp.dif
Normal file
13
ksh93-foreground-prgrp.dif
Normal file
@ -0,0 +1,13 @@
|
||||
--- src/cmd/ksh93/sh/jobs.c
|
||||
+++ src/cmd/ksh93/sh/jobs.c 2012-02-08 11:52:14.000000000 +0100
|
||||
@@ -841,7 +841,9 @@ static void job_reset(register struct pr
|
||||
{
|
||||
/* save the terminal state for current job */
|
||||
#ifdef SIGTSTP
|
||||
- job_fgrp(pw,tcgetpgrp(job.fd));
|
||||
+ pid_t tgrp;
|
||||
+ if((tgrp=tcgetpgrp(job.fd))!=job.mypid)
|
||||
+ job_fgrp(pw,tgrp);
|
||||
if(tcsetpgrp(job.fd,job.mypid) !=0)
|
||||
return;
|
||||
#endif /* SIGTSTP */
|
Loading…
Reference in New Issue
Block a user