Bug removed: the trailing zero at the end of a growstring was not
authorkeie <none@none>
Mon, 1 Oct 1984 17:42:56 +0000 (17:42 +0000)
committerkeie <none@none>
Mon, 1 Oct 1984 17:42:56 +0000 (17:42 +0000)
explicitly written in doassign(trans.c).
Only luck kept the program together.

util/ack/trans.c

index 8c0c9c6..a35e920 100644 (file)
@@ -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)) ;
 }