Caused a core dump on 68000-based machines (read: non-VAX) when called
authorceriel <none@none>
Mon, 20 Oct 1986 13:28:59 +0000 (13:28 +0000)
committerceriel <none@none>
Mon, 20 Oct 1986 13:28:59 +0000 (13:28 +0000)
at a certain (high) level of verbosity, -v5 for instance.
Cause: a null-reference. This is fixed.

util/ack/rmach.c

index 14c946a..16b3c89 100644 (file)
@@ -257,7 +257,7 @@ intrf() {
        if ( debug>=3 ) {
                register list_elem *elem ;
                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) ;
                scanlist( l_first(new->t_mapf), elem ) {
                        vprint("\t%s\n",l_content(*elem)) ;