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/init.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/init.c')
-rw-r--r-- | Src/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |