[779] in Coldmud discussion meeting

root meeting help first first in chain previous in chain previous next next in chain last in chain last

Re: Stupid Question Time

daemon@ATHENA.MIT.EDU (Sun Aug 20 21:00:14 1995 )

Date: Sun, 20 Aug 1995 18:57:57 -0600
From: 869683 Gillespie Brandon James <brandon@avon.declab.usu.edu>
To: coldstuff@MIT.EDU

< Hmm.  The bitwise ops are required to make the telenet server work, as
< you need to check sets of bits for values.  An alternate approach would be 
< some kind of bit-field operator.

I want the bitwise ops.  Although we could do a bitfield operator function:

    check_bitfield(number, number_bit_mask), ala:

I'd still prefer '&' though :)

< If you have the other stuff already implemented, then until we resovle 
< the bit-ops issue its probobly not worth my making a patch, yes?

Well, I think the patch you sent me was incomplete.  It WAS broken, eudora
put in random line breaks, but I think it may have been missing some too...

<    head = buffer_truncate(buff, size);
<    tail = buffer_tail(buff, size+1);

Do:

   head = buffer_truncate(buff, size);
   tail = (| buffer_tail(buff, size+1) |) || `[];

(just a suggestion)

-Brandon