EOR - AND mask inconsistency

Tony van der Hoff tony at mk-net.demon.co.uk
Sat Mar 5 10:39:55 GMT 2005


John Tytgat <John.Tytgat at aaug.net> wrote in message
<45008f464d.Jo at hobbes.bass-software.com>

> In message <gemini.icttf1019ky2o051r.tony at mk-net.demon.co.uk>
>           Tony van der Hoff <tony at mk-net.demon.co.uk> wrote:
> 
> > John Tytgat <John.Tytgat at aaug.net> wrote in message
> > <c11538404d.Jo at hobbes.bass-software.com>
> > 
> > [snip]
> > > 
> > > 3) EOR/AND values for IN only:
> > > 
> > > extern os_error *xbuffer_modify_flags (buffer_b b,
> > >       bits eor_mask,
> > >       bits and_mask);
> > > 
> > > But this is bad because this API doesn't allow me to read any of the
> > > current buffer flag bits...
> > > 
> > > Could this be fixed please ?
> > 
> > Whilst I'm looking at OSLib, and you didn't reply to my earlier request,
> > presumably what we need here is a new call, with a signature:
> > 
> >  extern os_error *xbuffer_modify_flags2 
> >       (buffer_b b,
> >        bits eor_mask,
> >        bits and_mask,
> >        bits *old_value,
> >        bits *new_value	
> >        );
> > 
> > OK?
> 
> Apologies for failing to properly following this up.  Of course this
> would solve the problem.

Committed...

-- 
Tony van der Hoff
Buckinghamshire England



More information about the oslib-user mailing list