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
F106865415: D34064.id102019.diff
Mon, Jan 6, 3:25 PM
F106864496: D34064.id102006.diff
Mon, Jan 6, 3:04 PM
Unknown Object (File)
Sat, Jan 4, 1:29 PM
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
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