Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142433773
D35157.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
416 B
Referenced Files
None
Subscribers
None
D35157.id.diff
View Options
diff --git a/sys/sys/bitstring.h b/sys/sys/bitstring.h
--- a/sys/sys/bitstring.h
+++ b/sys/sys/bitstring.h
@@ -305,7 +305,7 @@
_mask = _match ? _BITSTR_MASK : 0;
_maxshft = _bit_idx(_size - 1) == 0 ? _size : (int)_BITSTR_BITS;
- _value = 0;
+ _value = _start;
_curbitstr = _bitstr + _bit_idx(_start);
_test = ~(_BITSTR_MASK << _bit_offset(_start));
for (_last = _size - 1, _test |= _mask ^ *_curbitstr;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 20, 10:27 PM (15 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27779967
Default Alt Text
D35157.id.diff (416 B)
Attached To
Mode
D35157: bitstring: fix match-at-start bug
Attached
Detach File
Event Timeline
Log In to Comment