From 1521b041d6f3d9f3ce8f1cc2448e31cbc5a8ee1304aa1a1ed305bb149e27545d Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 28 Oct 2013 09:58:06 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=183 --- ksh93-fdstatus.dif | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ksh93-fdstatus.dif b/ksh93-fdstatus.dif index 101cf31..29199f6 100644 --- a/ksh93-fdstatus.dif +++ b/ksh93-fdstatus.dif @@ -1008,7 +1008,7 @@ sh_onstate(SH_NOLOG); @@ -876,7 +878,7 @@ Pathcomp_t *path_absolute(Shell_t *shp,r { - nv_onattr(nv_open(name,sh_subfuntree(shp,1),NV_NOARRAY|NV_IDENT|NV_NOSCOPE),NV_LTOU|NV_FUNCTION); + nv_onattr(nv_open(name,sh_subfuntree(1),NV_NOARRAY|NV_IDENT|NV_NOSCOPE),NV_LTOU|NV_FUNCTION); funload(shp,f,name); - close(f); + sh_close(f); @@ -1525,15 +1525,6 @@ dup(savein); shp->cur_line = 0; } -@@ -2751,7 +2787,7 @@ int sh_exec(register const Shnode_t *t, - } - if(rp->sdict) - { -- Namval_t *mp, *nq; -+ Namval_t *nq; - shp->last_root = rp->sdict; - for(mp=(Namval_t*)dtfirst(rp->sdict);mp;mp=nq) - { @@ -2910,6 +2946,15 @@ int sh_exec(register const Shnode_t *t, break; }