diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2003-10-28 16:52:17 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-10-28 16:52:17 +0000 |
commit | 40dcdf68a2368b0e889a6be5d7b6323101fcbe9f (patch) | |
tree | c0428f62747bfb85bf45a6aa2c30874b928bd235 /Src/parse.c | |
parent | 0d78947de1c8480825836d76a6c6c36591e4b13e (diff) | |
download | zsh-40dcdf68a2368b0e889a6be5d7b6323101fcbe9f.tar.gz zsh-40dcdf68a2368b0e889a6be5d7b6323101fcbe9f.tar.xz zsh-40dcdf68a2368b0e889a6be5d7b6323101fcbe9f.zip |
19209: Rename zcalloc to zshcalloc.
Diffstat (limited to 'Src/parse.c')
-rw-r--r-- | Src/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/parse.c b/Src/parse.c index b3072201a..ddb163986 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -2064,7 +2064,7 @@ dupeprog(Eprog p, int heap) r->len = p->len; r->npats = p->npats; pp = r->pats = (heap ? (Patprog *) hcalloc(r->len) : - (Patprog *) zcalloc(r->len)); + (Patprog *) zshcalloc(r->len)); r->prog = (Wordcode) (r->pats + r->npats); r->strs = ((char *) r->prog) + (p->strs - ((char *) p->prog)); memcpy(r->prog, p->prog, r->len - (p->npats * sizeof(Patprog))); @@ -3161,7 +3161,7 @@ dump_autoload(char *nam, char *file, int on, char *ops, int func) for (n = firstfdhead(h), e = (FDHead) (h + fdheaderlen(h)); n < e; n = nextfdhead(n)) { - shf = (Shfunc) zcalloc(sizeof *shf); + shf = (Shfunc) zshcalloc(sizeof *shf); shf->flags = on; shf->funcdef = mkautofn(shf); shfunctab->addnode(shfunctab, ztrdup(fdname(n) + fdhtail(n)), shf); |