diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2018-05-28 19:12:29 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 23:39:35 +0200 |
commit | 646a5c1cbfd95873950a87b5f75d52073a967023 (patch) | |
tree | b8b8d2ab3b0d432ea69ad1a64d1c789649d65020 /source/ap/ksh93/patches/ksh-20120801-kshmfix.patch | |
parent | d31c50870d0bee042ce660e445c9294a59a3a65b (diff) | |
download | current-646a5c1cbfd95873950a87b5f75d52073a967023.tar.gz |
Mon May 28 19:12:29 UTC 201820180528191229
a/pkgtools-15.0-noarch-13.txz: Rebuilt.
installpkg: default line length for --terselength is the number of columns.
removepkg: added --terse mode.
upgradepkg: default line length for --terselength is the number of columns.
upgradepkg: accept -option in addition to --option.
ap/vim-8.1.0026-x86_64-1.txz: Upgraded.
d/bison-3.0.5-x86_64-1.txz: Upgraded.
e/emacs-26.1-x86_64-1.txz: Upgraded.
kde/kopete-4.14.3-x86_64-8.txz: Rebuilt.
Recompiled against libidn-1.35.
n/conntrack-tools-1.4.5-x86_64-1.txz: Upgraded.
n/libnetfilter_conntrack-1.0.7-x86_64-1.txz: Upgraded.
n/libnftnl-1.1.0-x86_64-1.txz: Upgraded.
n/links-2.16-x86_64-2.txz: Rebuilt.
Rebuilt to enable X driver for -g mode.
n/lynx-2.8.9dev.19-x86_64-1.txz: Upgraded.
n/nftables-0.8.5-x86_64-1.txz: Upgraded.
n/p11-kit-0.23.11-x86_64-1.txz: Upgraded.
n/ulogd-2.0.7-x86_64-1.txz: Upgraded.
n/whois-5.3.1-x86_64-1.txz: Upgraded.
xap/network-manager-applet-1.8.12-x86_64-1.txz: Upgraded.
xap/vim-gvim-8.1.0026-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/ap/ksh93/patches/ksh-20120801-kshmfix.patch')
-rw-r--r-- | source/ap/ksh93/patches/ksh-20120801-kshmfix.patch | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/source/ap/ksh93/patches/ksh-20120801-kshmfix.patch b/source/ap/ksh93/patches/ksh-20120801-kshmfix.patch deleted file mode 100644 index cc684066..00000000 --- a/source/ap/ksh93/patches/ksh-20120801-kshmfix.patch +++ /dev/null @@ -1,66 +0,0 @@ -diff -up ksh-20120801/src/cmd/ksh93/sh/main.c.monintoron ksh-20120801/src/cmd/ksh93/sh/main.c ---- ksh-20120801/src/cmd/ksh93/sh/main.c.monintoron 2013-05-31 10:15:02.738828102 +0200 -+++ ksh-20120801/src/cmd/ksh93/sh/main.c 2013-05-31 10:15:36.057095262 +0200 -@@ -406,10 +406,10 @@ static void exfile(register Shell_t *shp - { - buff.mode = SH_JMPEXIT; - sh_onoption(SH_TRACKALL); -- sh_offoption(SH_MONITOR); - } - sh_offstate(SH_INTERACTIVE); -- sh_offstate(SH_MONITOR); -+ if(sh_isoption(SH_MONITOR)) -+ sh_onstate(SH_MONITOR); - sh_offstate(SH_HISTORY); - sh_offoption(SH_HISTORY); - } -diff -up ksh-20120801/src/cmd/ksh93/sh/jobs.c.orig ksh-20120801/src/cmd/ksh93/sh/jobs.c ---- ksh-20120801/src/cmd/ksh93/sh/jobs.c.orig 2013-05-31 10:12:28.358590452 +0200 -+++ ksh-20120801/src/cmd/ksh93/sh/jobs.c 2013-05-31 10:16:51.203697890 +0200 -@@ -548,7 +548,7 @@ int job_reap(register int sig) - { - px = job_byjid((int)pw->p_job); - for(; px && (px->p_flag&P_DONE); px=px->p_nxtproc); -- if(!px) -+ if(!px && sh_isoption(SH_INTERACTIVE)) - tcsetpgrp(JOBTTY,job.mypid); - } - #ifndef SHOPT_BGX -@@ -842,10 +842,11 @@ static void job_set(register struct proc - - static void job_reset(register struct process *pw) - { -+ Shell_t *shp = pw->p_shp; - /* save the terminal state for current job */ - #ifdef SIGTSTP - job_fgrp(pw,tcgetpgrp(job.fd)); -- if(tcsetpgrp(job.fd,job.mypid) !=0) -+ if(sh_isoption(SH_INTERACTIVE) && tcsetpgrp(job.fd,job.mypid) !=0) - return; - #endif /* SIGTSTP */ - /* force the following tty_get() to do a tcgetattr() unless fg */ -diff -up ksh-20120801/src/cmd/ksh93/sh/xec.c.orig ksh-20120801/src/cmd/ksh93/sh/xec.c ---- ksh-20120801/src/cmd/ksh93/sh/xec.c.orig 2013-05-31 10:12:27.000000000 +0200 -+++ ksh-20120801/src/cmd/ksh93/sh/xec.c 2013-05-31 10:18:14.650367185 +0200 -@@ -2201,7 +2201,7 @@ int sh_exec(register const Shnode_t *t, - } - shp->exitval = n; - #ifdef SIGTSTP -- if(!pipejob && sh_isstate(SH_MONITOR)) -+ if(!pipejob && sh_isstate(SH_MONITOR) && sh_isoption(SH_INTERACTIVE)) - tcsetpgrp(JOBTTY,shp->gd->pid); - #endif /*SIGTSTP */ - job.curpgid = savepgid; -diff -up ksh-20120801/src/cmd/ksh93/edit/edit.c.kshmfix ksh-20120801/src/cmd/ksh93/edit/edit.c ---- ksh-20120801/src/cmd/ksh93/edit/edit.c.kshmfix 2013-09-23 10:46:57.007256192 +0200 -+++ ksh-20120801/src/cmd/ksh93/edit/edit.c 2013-09-23 10:47:43.988937610 +0200 -@@ -1050,7 +1050,7 @@ int ed_getchar(register Edit_t *ep,int m - { - if(mode<=0 && -c == ep->e_intr) - { -- sh_fault(SIGINT); -+ killpg(getpgrp(),SIGINT); - siglongjmp(ep->e_env, UINTR); - } - if(mode<=0 && ep->sh->st.trap[SH_KEYTRAP]) - |