git: bitstring.h -- Correct bit_fls and bit_nsearch

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Tue Apr 19 03:39:58 PDT 2011


commit 74851543a21675a1410e368afc1c1c4238e10d45
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date:   Tue Apr 19 03:36:43 2011 -0700

    bitstring.h -- Correct bit_fls and bit_nsearch
    
    bit_nsearch was searching for one-too-many bits and was walking the whole set.
    
    Submitted-by: Luis Useche <useche at gmail.com>

Summary of changes:
 include/bitstring.h |   43 ++++++++++++++++---------------------------
 1 files changed, 16 insertions(+), 27 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/74851543a21675a1410e368afc1c1c4238e10d45


-- 
DragonFly BSD source repository





More information about the Commits mailing list