DragonFly commits List (threaded) for 2011-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: bitstring.h -- Correct errors in bit_nsearch.
commit 9c75b925d72f796408c5cfbfe21e09360ed10b9a
Author: Venkatesh Srinivas <me@endeavour.zapto.org>
Date: Thu May 5 01:28:59 2011 -0700
bitstring.h -- Correct errors in bit_nsearch.
* bit_nsearch returned 0, not the correct -1, for a size 0 request.
* bit_nsearch returned 0, not the correct -1, for requests larger than the
bitvector.
* bit_nsearch didn't find a zero cluster if it was the last one in a vector.
Submitted-by: Luis Useche <useche@gmail.com>
Closes bug: 2057
Summary of changes:
include/bitstring.h | 22 ++++++++--------------
1 files changed, 8 insertions(+), 14 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9c75b925d72f796408c5cfbfe21e09360ed10b9a
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]