From: keie Date: Mon, 1 Oct 1984 17:42:56 +0000 (+0000) Subject: Bug removed: the trailing zero at the end of a growstring was not X-Git-Tag: release-5-5~6084 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=080555fffd6c851d1b22bb9cb04c60651d5f404a;p=ack.git Bug removed: the trailing zero at the end of a growstring was not explicitly written in doassign(trans.c). Only luck kept the program together. --- diff --git a/util/ack/trans.c b/util/ack/trans.c index 8c0c9c68d..a35e920c6 100644 --- a/util/ack/trans.c +++ b/util/ack/trans.c @@ -544,6 +544,7 @@ doassign(line,star,length) char *line, *star ; { break ; } gr_throw(&temp) ; + gr_add(&name,0) ; gr_add(&varval,0) ; setsvar(gr_final(&name),gr_final(&varval)) ; }