Page MenuHomeFreeBSD

bitstring: fix match-at-start bug
ClosedPublic

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

Details

Summary

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

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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.