HomeFreeBSD

bitstring: Support large bit strings.

Description

bitstring: Support large bit strings.

Replace int with either size_t or ssize_t (depending on context) in
order to support bit strings up to SSIZE_MAX bits in length. Since
some of the arguments that need to change type are pointers, we must
resort to light preprocessor trickery to avoid breaking existing code.

MFC after: 3 weeks
Sponsored by: Klara, Inc.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D42698

Details

Provenance
desAuthored on Nov 22 2023, 10:30 PM
Reviewer
kevans
Differential Revision
D42698: bitstring: Support large bit strings.
Parents
rG0a7139485ccb: Replace random sbuf_printf() with cheaper cat/putc.
Branches
Unknown
Tags
Unknown