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
F145117098: D34064.diff
Mon, Feb 16, 3:51 AM
Unknown Object (File)
Sun, Feb 8, 1:04 AM
Unknown Object (File)
Sat, Feb 7, 11:19 PM
Unknown Object (File)
Sat, Jan 31, 8:13 AM
Unknown Object (File)
Nov 28 2025, 12:42 AM
Unknown Object (File)
Nov 22 2025, 4:37 PM
Unknown Object (File)
Nov 21 2025, 10:43 AM
Unknown Object (File)
Nov 9 2025, 10:13 PM
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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44125
Build 41013: arc lint + arc unit