about summary refs log tree commit homepage
path: root/lib/PublicInbox/TestCommon.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-09-24 20:19:21 +0000
committerEric Wong <e@80x24.org>2023-09-24 23:14:21 +0000
commitb8db6914a2a7da45cf0aed20240c8c6696a16968 (patch)
tree86ad51c6e6da846b14b29f97f1d9d130d68ae402 /lib/PublicInbox/TestCommon.pm
parent1afb6f5133444bc53db047574d5142f85dfc2218 (diff)
downloadpublic-inbox-b8db6914a2a7da45cf0aed20240c8c6696a16968.tar.gz
Instead of converting to bytes to bits and asking `vec' to
operate on single bits, we can just have `vec' work on 8 bits
at-a-time.

This also fixes an overallocation in pure Perl Linux recv_cmd4.
Adding an extra byte ourselves for "\0" isn't necessary: Perl
already does it internally everywhere when creating/resizing
scalars.
Diffstat (limited to 'lib/PublicInbox/TestCommon.pm')
0 files changed, 0 insertions, 0 deletions