scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 21f224de6c5c2f95f18b4cd4e1f930632a7d9d85
parent 9151d9e75f5a52e009395f480745b79f52d2ead4
Author: sin <sin@2f30.org>
Date:   Fri,  2 Aug 2013 12:33:56 +0100

Add comment

Diffstat:
Mrandom/rballoc.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/random/rballoc.c b/random/rballoc.c @@ -264,6 +264,7 @@ posix_memalign(void **memptr, size_t align, size_t siz) lock(&rblock); n.buf = mem; res = RB_FIND(alloc_tree, &at, &n); + /* Use an offset here? */ res->buf = new; res->siz -= ((uintptr_t)new - (uintptr_t)mem); unlock(&rblock);