Re: refresher.. almost newbie question!

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 10 Jul 2000 00:09:44 +0200

It is a typo, and a fix is in the pipeline. Ignore CARP for now.

/Henrik

Robert Collins wrote:
>
> In 2.4dev3 carp.c ROTATE_LEFT is #defined as
> #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> ((size(unsigned
> long)*8)-(n))))
> where is size defined/what is it?
> I've changed this to be
> #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (((sizeof(unsigned
> long)*8)-(n)))))
> which should be equally portable, so I don't want to surround it with #ifdef
> cygwin....
>
> Rob
Received on Sun Jul 09 2000 - 16:44:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:32 MST