[Info-vax] disabling a CTRL/Y ast

Tom Adams tadamsmar at gmail.com
Thu Jan 7 11:37:53 EST 2016


On Thursday, January 7, 2016 at 11:29:37 AM UTC-5, Stephen Hoffman wrote:
> On 2016-01-07 15:25:08 +0000, Tom Adams said:
> 
> > 
> >             if (s) s=sys$qiow (     ,
> >         1                       %val(chn),
> >         1                       %val(IO$_SETMODE .or.
> >         1                       IO$M_CTRLYAST),
> >         1                       iosb,,,%val(0),,,,,)
> >           end if
> >           if (.not.s) call lib$signal(%val(s))
> >           end
> 
> 
> Where's the IOSB check?    (I do hope that check was solely omitted 
> from the example, and not from the production code.)
> 
> And again, you can either put some effort into fixing the application 
> design, or you can continue to patch over the resulting design issues 
> in the code.
> 
> 
> -- 
> Pure Personal Opinion | HoffmanLabs LLC

We check IOSB in production code.  But thanks for pointing it out, sometimes
you point out things we are not doing and should be doing.  And sometimes I
have a confusing bug in test code and regret not checking!




More information about the Info-vax mailing list