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.
This commit is contained in:
keie 1984-10-01 17:42:56 +00:00
parent 083dccb299
commit 080555fffd

View 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)) ;
}