Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109335529
D35157.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.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, Feb 4, 5:50 PM (21 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16458255
Default Alt Text
D35157.diff (416 B)
Attached To
Mode
D35157: bitstring: fix match-at-start bug
Attached
Detach File
Event Timeline
Log In to Comment