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/input.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Src/input.c') diff --git a/Src/input.c b/Src/input.c index f90ac7b00..525a3202a 100644 --- a/Src/input.c +++ b/Src/input.c @@ -273,9 +273,6 @@ inputline(void) free(ingetcline); return lexstop = errflag = 1; } - /* Look for a space, to see if this shouldn't be put into history */ - if (isfirstln) - spaceflag = *ingetcline == ' '; if (isset(VERBOSE)) { /* Output the whole line read so far. */ zputs(ingetcline, stderr); @@ -374,7 +371,7 @@ inungetc(int c) * can't back up where we want to. Instead, we just push it * onto the input stack as an extra character. */ - char *cback = (char *)zcalloc(2); + char *cback = (char *)zshcalloc(2); cback[0] = (char) c; inpush(cback, INP_FREE|INP_CONT, NULL); } -- cgit 1.4.1