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-20100621-fdstatus.patch | |
parent | d31c50870d0bee042ce660e445c9294a59a3a65b (diff) | |
download | current-646a5c1cbfd95873950a87b5f75d52073a967023.tar.gz current-646a5c1cbfd95873950a87b5f75d52073a967023.tar.xz |
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-20100621-fdstatus.patch')
-rw-r--r-- | source/ap/ksh93/patches/ksh-20100621-fdstatus.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/source/ap/ksh93/patches/ksh-20100621-fdstatus.patch b/source/ap/ksh93/patches/ksh-20100621-fdstatus.patch deleted file mode 100644 index 99abb5533..000000000 --- a/source/ap/ksh93/patches/ksh-20100621-fdstatus.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff -up ksh-20120801/src/cmd/ksh93/sh/io.c.fdstatus ksh-20120801/src/cmd/ksh93/sh/io.c ---- ksh-20120801/src/cmd/ksh93/sh/io.c.fdstatus 2013-07-04 18:01:27.187516655 +0200 -+++ ksh-20120801/src/cmd/ksh93/sh/io.c 2013-07-04 18:01:38.249607392 +0200 -@@ -1508,7 +1508,7 @@ int sh_redirect(Shell_t *shp,struct iono - fn = fd; - if(fd<10) - { -- if((fn=fcntl(fd,F_DUPFD,10)) < 0) -+ if((fn=sh_fcntl(fd,F_DUPFD,10)) < 0) - goto fail; - if(fn>=shp->gd->lim.open_max && !sh_iovalidfd(shp,fn)) - goto fail; -diff -up ksh-20120801/src/cmd/ksh93/sh/subshell.c.fdstatus ksh-20120801/src/cmd/ksh93/sh/subshell.c ---- ksh-20120801/src/cmd/ksh93/sh/subshell.c.fdstatus 2012-07-17 23:54:21.000000000 +0200 -+++ ksh-20120801/src/cmd/ksh93/sh/subshell.c 2013-07-04 17:56:20.342000310 +0200 -@@ -122,7 +122,7 @@ void sh_subtmpfile(Shell_t *shp) - register struct checkpt *pp = (struct checkpt*)shp->jmplist; - register struct subshell *sp = subshell_data->pipe; - /* save file descriptor 1 if open */ -- if((sp->tmpfd = fd = fcntl(1,F_DUPFD,10)) >= 0) -+ if((sp->tmpfd = fd = sh_fcntl(1,F_DUPFD,10)) >= 0) - { - fcntl(fd,F_SETFD,FD_CLOEXEC); - shp->fdstatus[fd] = shp->fdstatus[1]|IOCLEX; -@@ -554,7 +554,7 @@ Sfio_t *sh_subshell(Shell_t *shp,Shnode_ - sp->pwdfd = n; - if(n<10) - { -- sp->pwdfd = fcntl(n,F_DUPFD,10); -+ sp->pwdfd = sh_fcntl(n,F_DUPFD,10); - close(n); - } - if(sp->pwdfd>0) -diff -up ksh-20120801/src/cmd/ksh93/sh/xec.c.fdstatus ksh-20120801/src/cmd/ksh93/sh/xec.c ---- ksh-20120801/src/cmd/ksh93/sh/xec.c.fdstatus 2012-07-23 16:49:32.000000000 +0200 -+++ ksh-20120801/src/cmd/ksh93/sh/xec.c 2013-07-04 17:57:47.153712116 +0200 -@@ -116,7 +116,7 @@ static int iousepipe(Shell_t *shp) - return(0); - usepipe++; - fcntl(subpipe[0],F_SETFD,FD_CLOEXEC); -- subpipe[2] = fcntl(1,F_DUPFD,10); -+ subpipe[2] = sh_fcntl(1,F_DUPFD,10); - fcntl(subpipe[2],F_SETFD,FD_CLOEXEC); - shp->fdstatus[subpipe[2]] = shp->fdstatus[1]; - close(1); -@@ -3622,7 +3622,7 @@ static void coproc_init(Shell_t *shp, in - sh_pipe(shp->cpipe); - if((outfd=shp->cpipe[1]) < 10) - { -- int fd=fcntl(shp->cpipe[1],F_DUPFD,10); -+ int fd=sh_fcntl(shp->cpipe[1],F_DUPFD,10); - if(fd>=10) - { - shp->fdstatus[fd] = (shp->fdstatus[outfd]&~IOCLEX); |