HomeFreeBSD

pkg(7): replace usage of sbuf(9) with open_memstream(3)

Description

pkg(7): replace usage of sbuf(9) with open_memstream(3)

open_memstream(3) is a standard way to obtain the same feature we do get
by using sbuf(9) (aka dynamic size buffer), switching to using it makes
pkg(7) more portable, and reduces its number of dependencies.

Reviewed by: manu
Differential Revision: https://reviews.freebsd.org/D30005

Details

Provenance
baptAuthored on Apr 27 2021, 2:38 AM
Reviewer
manu
Differential Revision
D30005: pkg(7): replace usage of sbuf(9) with open_memstream(3)
Parents
rGf648d757b76d: pkg(7): indentation fixes
Branches
Unknown
Tags
Unknown