On Wed, 20 Jun 2007 15:37:02 +0200
<[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I don't get this part:
> 
> > /* Setup the offset pointer to add data */
> >  offset = entropy_write_offset + 1;
> >  if (offset + sizeof(unsigned long)  == ENTROPYBUFSIZE) {
> >    offset = 0;
> >  }
> 
> Why the +1 ? You sure that's really what you want?...

You mean its more clean to write:

        offset = ++entropy_write_offset;

Or do you mean this is possibly a "off by one"-bug?


_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to