freebsd-dev/usr.bin/ar
Mark Johnston 41e6398f9b ar: Avoid overwriting the stdout file stream pointer
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.

Reviewed by:	emaste
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D34064
2022-01-27 17:10:17 -05:00
..
acplex.l
acpyacc.y ar: Avoid overwriting the stdout file stream pointer 2022-01-27 17:10:17 -05:00
ar.1 ar: accept but ignore 'T' option 2022-01-03 11:42:59 -05:00
ar.c ar: Avoid overwriting the stdout file stream pointer 2022-01-27 17:10:17 -05:00
ar.h ar: Avoid overwriting the stdout file stream pointer 2022-01-27 17:10:17 -05:00
Makefile
Makefile.depend
read.c ar: Avoid overwriting the stdout file stream pointer 2022-01-27 17:10:17 -05:00
util.c ar: diff reduction against ELF Tool Chain 2021-08-13 10:39:44 -04:00
write.c ar: diff reduction against ELF Tool Chain 2021-08-13 11:17:46 -04:00