.
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=184
This commit is contained in:
parent
1521b041d6
commit
77d5dafffa
@ -266,6 +266,14 @@
|
|||||||
free(shp->fifo);
|
free(shp->fifo);
|
||||||
--- src/cmd/ksh93/sh/array.c
|
--- src/cmd/ksh93/sh/array.c
|
||||||
+++ src/cmd/ksh93/sh/array.c 2013-10-25 13:26:45.742247936 +0000
|
+++ src/cmd/ksh93/sh/array.c 2013-10-25 13:26:45.742247936 +0000
|
||||||
|
@@ -402,6 +408,7 @@ static Namval_t *array_find(Namval_t *np
|
||||||
|
#if SHOPT_TYPEDEF
|
||||||
|
int nv_arraysettype(Namval_t *np, Namval_t *tp, const char *sub, int flags)
|
||||||
|
{
|
||||||
|
+ Shell_t *shp = sh_getinterp();
|
||||||
|
Namval_t *nq;
|
||||||
|
char *av[2];
|
||||||
|
int rdonly = nv_isattr(np,NV_RDONLY);
|
||||||
@@ -438,10 +438,13 @@ int nv_arraysettype(Namval_t *np, Namval
|
@@ -438,10 +438,13 @@ int nv_arraysettype(Namval_t *np, Namval
|
||||||
nv_offattr(nq,NV_RDONLY);
|
nv_offattr(nq,NV_RDONLY);
|
||||||
if(!nv_isattr(tp,NV_BINARY))
|
if(!nv_isattr(tp,NV_BINARY))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user