--- cc1/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc1/lex.c b/cc1/lex.c index 3aff6d3..935cb40 100644 --- a/cc1/lex.c +++ b/cc1/lex.c _AT_@ -30,6 +30,7 @@ allocinput(char *fname, FILE *fp) ip = xmalloc(sizeof(Input)); ip->fname = xstrdup(fname); ip->p = ip->begin = ip->line = xmalloc(INPUTSIZ); + ip->p[0] = '\0'; ip->nline = 0; ip->next = input; ip->fp = fp; _AT_@ -89,7 +90,6 @@ ilex(char *fname) } } allocinput(fname, fp); - *input->begin = '\0'; keywords(keys, NS_KEYWORD); } -- 2.8.1Received on Mon Sep 17 2001 - 00:00:00 CEST
This archive was generated by hypermail 2.3.0 : Sat May 07 2016 - 02:12:11 CEST