freebsd-dev/usr.bin/ar
Ed Maste 38911b3c2c ar: provide error exit status upon failure
Previously ar and ranlib returned with exit status 0 (success) in the
case of a missing file or other error.  Update to use error handling
similar to that added by ELF Tool Chain after that project forked
FreeBSD's ar.

PR:		PR257599 [exp-run]
Reported by:	Shawn Webb, gehmehgeh (on HardenedBSD IRC)
Reviewed by:	markj
Obtained from:	elftoolchain
MFC after:	2 months
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D31402
2021-08-10 17:08:10 -04:00
..
acplex.l ar: provide error exit status upon failure 2021-08-10 17:08:10 -04:00
acpyacc.y ar: provide error exit status upon failure 2021-08-10 17:08:10 -04:00
ar.1
ar.c ar: provide error exit status upon failure 2021-08-10 17:08:10 -04:00
ar.h ar: provide error exit status upon failure 2021-08-10 17:08:10 -04:00
Makefile
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
read.c ar: provide error exit status upon failure 2021-08-10 17:08:10 -04:00
util.c usr.bin/ar: use standard 2-Clause FreeBSD license 2018-06-20 18:43:17 +00:00
write.c ar: provide error exit status upon failure 2021-08-10 17:08:10 -04:00