diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2003-10-29 19:17:30 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-10-29 19:17:30 +0000 |
commit | 815bc92148939ce369585c59d3af730f69833844 (patch) | |
tree | 2787fe59d0c8b27c6a9cf18e65784cdbd925c9b1 /Src/Modules/parameter.c | |
parent | 026631ab818995ad480a9ea3e5a7ec243c645db1 (diff) | |
download | zsh-815bc92148939ce369585c59d3af730f69833844.tar.gz zsh-815bc92148939ce369585c59d3af730f69833844.tar.xz zsh-815bc92148939ce369585c59d3af730f69833844.zip |
a la 19209: zcalloc -> zshcalloc
Diffstat (limited to 'Src/Modules/parameter.c')
-rw-r--r-- | Src/Modules/parameter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c index 8e70e111d..eb03b9d7d 100644 --- a/Src/Modules/parameter.c +++ b/Src/Modules/parameter.c @@ -202,7 +202,7 @@ setpmcommand(Param pm, char *value) zwarn("restricted: %s", value, 0); zsfree(value); } else { - Cmdnam cn = zcalloc(sizeof(*cn)); + Cmdnam cn = zshcalloc(sizeof(*cn)); cn->flags = HASHED; cn->u.cmd = value; @@ -233,7 +233,7 @@ setpmcommands(Param pm, HashTable ht) for (i = 0; i < ht->hsize; i++) for (hn = ht->nodes[i]; hn; hn = hn->next) { - Cmdnam cn = zcalloc(sizeof(*cn)); + Cmdnam cn = zshcalloc(sizeof(*cn)); struct value v; v.isarr = v.inv = v.start = 0; @@ -1419,7 +1419,7 @@ setpmnameddir(Param pm, char *value) if (!value) zwarn("invalid value: ''", NULL, 0); else { - Nameddir nd = (Nameddir) zcalloc(sizeof(*nd)); + Nameddir nd = (Nameddir) zshcalloc(sizeof(*nd)); nd->flags = 0; nd->dir = value; @@ -1468,7 +1468,7 @@ setpmnameddirs(Param pm, HashTable ht) if (!(val = getstrvalue(&v))) zwarn("invalid value: ''", NULL, 0); else { - Nameddir nd = (Nameddir) zcalloc(sizeof(*nd)); + Nameddir nd = (Nameddir) zshcalloc(sizeof(*nd)); nd->flags = 0; nd->dir = ztrdup(val); |