diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-06-18 13:25:03 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-06-18 13:25:03 +0000 |
commit | abae4fe16e26cf027e7c8165d27b93d74bbd18b2 (patch) | |
tree | 811bae4da4a0b6f0b370334a7f01ee5d9b9c8baf /Src/Modules | |
parent | 5c44b0a472c6e9efdec28ef03337c484b1bc3ce1 (diff) | |
download | zsh-abae4fe16e26cf027e7c8165d27b93d74bbd18b2.tar.gz zsh-abae4fe16e26cf027e7c8165d27b93d74bbd18b2.tar.xz zsh-abae4fe16e26cf027e7c8165d27b93d74bbd18b2.zip |
23562: add KSH_ZERO_SUBSCRIPT option and leave off by default
Diffstat (limited to 'Src/Modules')
-rw-r--r-- | Src/Modules/mapfile.c | 2 | ||||
-rw-r--r-- | Src/Modules/parameter.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Src/Modules/mapfile.c b/Src/Modules/mapfile.c index 25b506f03..fb46df885 100644 --- a/Src/Modules/mapfile.c +++ b/Src/Modules/mapfile.c @@ -149,7 +149,7 @@ setpmmapfiles(Param pm, HashTable ht) for (hn = ht->nodes[i]; hn; hn = hn->next) { struct value v; - v.isarr = v.inv = v.start = 0; + v.isarr = v.flags = v.start = 0; v.end = -1; v.arr = NULL; v.pm = (Param) hn; diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c index 9d52bcd3f..bf21b5cda 100644 --- a/Src/Modules/parameter.c +++ b/Src/Modules/parameter.c @@ -180,7 +180,7 @@ setpmcommands(UNUSED(Param pm), HashTable ht) Cmdnam cn = zshcalloc(sizeof(*cn)); struct value v; - v.isarr = v.inv = v.start = 0; + v.isarr = v.flags = v.start = 0; v.end = -1; v.arr = NULL; v.pm = (Param) hn; @@ -341,7 +341,7 @@ setfunctions(UNUSED(Param pm), HashTable ht, int dis) for (hn = ht->nodes[i]; hn; hn = hn->next) { struct value v; - v.isarr = v.inv = v.start = 0; + v.isarr = v.flags = v.start = 0; v.end = -1; v.arr = NULL; v.pm = (Param) hn; @@ -701,7 +701,7 @@ setpmoptions(UNUSED(Param pm), HashTable ht) struct value v; char *val; - v.isarr = v.inv = v.start = 0; + v.isarr = v.flags = v.start = 0; v.end = -1; v.arr = NULL; v.pm = (Param) hn; @@ -1325,7 +1325,7 @@ setpmnameddirs(UNUSED(Param pm), HashTable ht) struct value v; char *val; - v.isarr = v.inv = v.start = 0; + v.isarr = v.flags = v.start = 0; v.end = -1; v.arr = NULL; v.pm = (Param) hn; @@ -1554,7 +1554,7 @@ setaliases(HashTable alht, UNUSED(Param pm), HashTable ht, int flags) struct value v; char *val; - v.isarr = v.inv = v.start = 0; + v.isarr = v.flags = v.start = 0; v.end = -1; v.arr = NULL; v.pm = (Param) hn; |