From 40dcdf68a2368b0e889a6be5d7b6323101fcbe9f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 28 Oct 2003 16:52:17 +0000 Subject: 19209: Rename zcalloc to zshcalloc. --- Src/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Src/init.c') diff --git a/Src/init.c b/Src/init.c index d2f8ec591..291351b9d 100644 --- a/Src/init.c +++ b/Src/init.c @@ -325,7 +325,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); @@ -1191,9 +1191,9 @@ zsh_main(int argc, char **argv) break; } while (zsh_name); - /* Not zopenmax() here: it may return a number too big for zcalloc(). */ + /* Not zopenmax() here: it may return a number too big for zshcalloc(). */ fdtable_size = 256; /* This grows as necessary, see utils.c:movefd(). */ - fdtable = zcalloc(fdtable_size); + fdtable = zshcalloc(fdtable_size); createoptiontable(); emulate(zsh_name, 1); /* initialises most options */ -- cgit 1.4.1