Page MenuHomeFreeBSD

bitstring: fix match-at-start bug

Authored by dougm on Tue, May 10, 3:29 AM.



commit 84e2ae64c597000a0 introduced an error in the ff*_area_at functions for nonzero start parameters when the bit range sought was found immediately. It mistakenly replace '_value = _start' with '_value = 0' in initialization. Undo that mistake.

Diff Detail

R10 FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dougm requested review of this revision.Tue, May 10, 3:29 AM
dougm created this revision.
dougm added a reviewer: markj.
This revision is now accepted and ready to land.Tue, May 10, 1:06 PM
This revision was automatically updated to reflect the committed changes.