* 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)
(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

index 31cd977bedb748b7bbea3eadae0e2be7edc111c1..288c032414ef649b0b843465c66d261aedc144d9 100644 (file)
@@ -1,5 +1,16 @@
 Thu Sep 15 21:43:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
+       * 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.
+
        * objdump.c (disassemble_all): New global variable.
        (usage): Document --disassemble-all.
        (long_options): Add disassemble-all as a synonym for -D.