bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Possible problems when MCHECK is defined


From: Ognyan Kulev
Subject: Re: [PATCH] Possible problems when MCHECK is defined
Date: Tue, 26 Mar 2002 14:01:05 +0200
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.9) Gecko/20020311

James Morrison wrote:
+#define NBUCKETS       (31 - LOG2_MIN_SIZE + 1)

 Why are you using 31 + 1 instead of just 32?

NBUCKETS must contain the number of elements between LOG2_MIN_SIZE
and 31 inclusively.  This calculation is more logical.

--
Ognyan Kulev <ogi@fmi.uni-sofia.bg>, "\"Programmer\""




reply via email to

[Prev in Thread] Current Thread [Next in Thread]