summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_params.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-10-29 19:17:30 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-10-29 19:17:30 +0000
commit815bc92148939ce369585c59d3af730f69833844 (patch)
tree2787fe59d0c8b27c6a9cf18e65784cdbd925c9b1 /Src/Zle/zle_params.c
parent026631ab818995ad480a9ea3e5a7ec243c645db1 (diff)
downloadzsh-815bc92148939ce369585c59d3af730f69833844.tar.gz
zsh-815bc92148939ce369585c59d3af730f69833844.zip
a la 19209: zcalloc -> zshcalloc
Diffstat (limited to 'Src/Zle/zle_params.c')
-rw-r--r--Src/Zle/zle_params.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_params.c b/Src/Zle/zle_params.c
index 45df2fa8e..a9fd93450 100644
--- a/Src/Zle/zle_params.c
+++ b/Src/Zle/zle_params.c
@@ -414,7 +414,7 @@ set_killring(Param pm, char **x)
*/
int kpos = 0;
kringsize = arrlen(x);
- kring = (Cutbuffer)zcalloc(kringsize * sizeof(struct cutbuffer));
+ kring = (Cutbuffer)zshcalloc(kringsize * sizeof(struct cutbuffer));
for (p = x; *p; p++) {
int len = strlen(*p);
kptr = kring + kpos;
@@ -443,7 +443,7 @@ get_killring(Param pm)
/* Supposed to work even if kring is NULL */
if (!kring) {
kringsize = KRINGCTDEF;
- kring = (Cutbuffer)zcalloc(kringsize * sizeof(struct cutbuffer));
+ kring = (Cutbuffer)zshcalloc(kringsize * sizeof(struct cutbuffer));
}
p = ret = (char **)zhalloc((kringsize+1) * sizeof(char *));