[comp.sys.isis] Bug fix in cl_isis.c

siegel@fafnir.cs.cornell.edu (Alexander Siegel) (09/26/90)

If you are using isis_input, then the function cl_dump in cl_isis.c
will not work correctly.  A patch is:

*** cl_isis.c.old   Tue Sep 25 17:34:30 1990
--- cl_isis.c   Tue Sep 25 17:34:03 1990
***************
*** 2583,2601 ****
                continue;
            print("Cached group address %s, ", qp->qu_string);
            paddr((address*)qp->qu_data);
!           print("\n");
!       }
!       for(iw = iw_root; iw; iw = iw->iw_next)
!       {
!           print("isis_wait: imask [%x... ] omask [%x... ] xmask [%x... ]. Call
 ", iw->iw_imask->bv_data[0], iw->iw_omask->bv_data[0], iw->iw_xmask->bv_data[0]
);
!           if(iw->iw_routine != (vfunc*)t_sig)
!           {
!               cl_rname(iw->iw_routine);
!               print("(%x)\n", iw->iw_arg0);
!           }
!           else
!               print("t_sig(&0x%x,0x%x)\n", iw->iw_cond, iw->iw_carg);
!       }
        for(qp = isis_drainq->qu_next; qp != isis_drainq; qp = qp->qu_next)
        {
            print("On drain: call ");
--- 2583,2608 ----
                continue;
            print("Cached group address %s, ", qp->qu_string);
            paddr((address*)qp->qu_data);
!             print("\n");
!         }
!         for(iw = iw_root; iw; iw = iw->iw_next)
!         {
!             print("isis_wait:");
!             if(iw->iw_flag&IW_HASIMASK)
!               print(" imask [%x... ]", iw->iw_imask->bv_data[0]);
!             if(iw->iw_flag&IW_HASOMASK)
!               print(" omask [%x... ]", iw->iw_omask->bv_data[0]);
!             if(iw->iw_flag&IW_HASXMASK)
!               print(" xmask [%x... ]", iw->iw_xmask->bv_data[0]);
!             print(". Call ");
!             if(iw->iw_routine != (vfunc*)t_sig)
!             {
!                 cl_rname(iw->iw_routine);
!                 print("(%x)\n", iw->iw_arg0);
!             }
!             else
!                 print("t_sig(&0x%x,0x%x)\n", iw->iw_cond, iw->iw_carg);
!         }
        for(qp = isis_drainq->qu_next; qp != isis_drainq; qp = qp->qu_next)
        {
Alex Siegel
siegel@cs.cornell.edu