Caused a core dump on 68000-based machines (read: non-VAX) when called

at a certain (high) level of verbosity, -v5 for instance.
Cause: a null-reference. This is fixed.
This commit is contained in:
ceriel 1986-10-20 13:28:59 +00:00
parent b8bb269c72
commit 3a076895bb

View file

@ -257,7 +257,7 @@ intrf() {
if ( debug>=3 ) { if ( debug>=3 ) {
register list_elem *elem ; register list_elem *elem ;
vprint("%s: from %s to %s '%s'\n", vprint("%s: from %s to %s '%s'\n",
new->t_name,new->t_in,new->t_out,new->t_prog) ; new->t_name,new->t_in ? new->t_in : "(null)",new->t_out,new->t_prog) ;
vprint("\targs: ") ; prns(new->t_argd) ; vprint("\targs: ") ; prns(new->t_argd) ;
scanlist( l_first(new->t_mapf), elem ) { scanlist( l_first(new->t_mapf), elem ) {
vprint("\t%s\n",l_content(*elem)) ; vprint("\t%s\n",l_content(*elem)) ;