* listing.c (file_info_struct): Remove FILE, add POS.
authorRichard Henderson <rth@redhat.com>
Thu, 22 Jan 1998 00:50:17 +0000 (00:50 +0000)
committerRichard Henderson <rth@redhat.com>
Thu, 22 Jan 1998 00:50:17 +0000 (00:50 +0000)
commitcc746b3ed571aba2890e4abf51879aeb65168587
treeedc77035674f62dd1e30332beac05c72bdcb1e48
parent2d44e12a276905a04f74654800e63c5373eacd26
* listing.c (file_info_struct): Remove FILE, add POS.
(last_open_file_info, last_open_file): New; a one entry FILE* cache.
(file_info): Don't open the file.
(buffer_line): Check for the file in the last_open cache, updating
as necessary.
(print_source): Don't reference file_info->file.
(listing_listing): Likewise.
(listing_print): Close the file in the cache, if any.
gas/ChangeLog