Page MenuHomeFreeBSD

ar: Avoid overwriting the stdout file stream pointer
ClosedPublic

Authored by markj on Jan 27 2022, 6:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 26 2024, 11:15 PM
Unknown Object (File)
Nov 24 2024, 4:15 PM
Unknown Object (File)
Nov 20 2024, 11:02 AM
Unknown Object (File)
Oct 22 2024, 10:43 AM
Unknown Object (File)
Oct 14 2024, 2:15 AM
Unknown Object (File)
Sep 29 2024, 5:31 AM
Unknown Object (File)
Sep 28 2024, 10:42 PM
Unknown Object (File)
Sep 28 2024, 10:31 AM
Subscribers

Details

Summary

This doesn't work with musl, which defines stdout as FILE * const.
Instead, explicitly pass the desired output stream to ar_read_archive().

No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable