From 815bc92148939ce369585c59d3af730f69833844 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 29 Oct 2003 19:17:30 +0000 Subject: a la 19209: zcalloc -> zshcalloc --- Src/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/init.c') diff --git a/Src/init.c b/Src/init.c index 51cbe0d3a..0befe5e9b 100644 --- a/Src/init.c +++ b/Src/init.c @@ -323,7 +323,7 @@ parseargs(char **argv) if(isset(SINGLECOMMAND)) opts[INTERACTIVE] &= 1; opts[INTERACTIVE] = !!opts[INTERACTIVE]; - pparams = x = (char **) zcalloc((countlinknodes(paramlist) + 1) * sizeof(char *)); + pparams = x = (char **) zshcalloc((countlinknodes(paramlist) + 1) * sizeof(char *)); while ((*x++ = (char *)getlinknode(paramlist))); free(paramlist); @@ -1242,7 +1242,7 @@ zsh_main(int argc, char **argv) } while (zsh_name); fdtable_size = zopenmax(); - fdtable = zcalloc(fdtable_size); + fdtable = zshcalloc(fdtable_size); createoptiontable(); emulate(zsh_name, 1); /* initialises most options */ -- cgit 1.4.1