HomeFreeBSD

ident: replace sbuf(9) with open_memstream(3)

Description

ident: replace sbuf(9) with open_memstream(3)

This change makes ident only dependant on libc functions

This makes our ident(1) more portable, also the fact that we only
depend on libc which is maintained with excellent backward compatibility
means that if one day ident is removed from base, someone using FreeBSD
22 will be able to fetch ident from FreeBSD 14 to run ident against
FreeBSD 1.0 binary

MFC After: 1 week

(cherry picked from commit 1a4d5f13ba19308f9909ef712c5d7eebaf1f9806)

Details

Provenance
baptAuthored on Oct 28 2021, 1:39 PM
Parents
rGec07cdb92432: openssl: install pc files
Branches
Unknown
Tags
Unknown