* ar.c: Call xexit rather than exit.
authorIan Lance Taylor <ian@airs.com>
Fri, 16 Sep 1994 04:03:23 +0000 (04:03 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 16 Sep 1994 04:03:23 +0000 (04:03 +0000)
commit4b4e568a4cecf2beda448b93e2f9c41458166aba
treebac5bfaeb8d7647823ecbe52f7a655e27f4cdb44
parentd5464baad0bdb3e00c15f33090d6bb9fff1fc209
* ar.c: Call xexit rather than exit.
(output_filename, output_file, output_bfd): New static variables.
(remove_output): New static function.
(main): Call xatexit (remove_output).  Call xexit rather than
returning.
(extract_file): Set output_filename and output_file while output
file is open.
(write_archive): Likewise, but use output_bfd, not output_file.
* arsup.c: Include libiberty.h.  Call xexit rather than exit.
* bucomm.c: Likewise.
PR 2474.
binutils/ChangeLog