list member names as stored in the archive. Patch proposed by Erik
Cumps <erik.cumps@icos.be>
if (test_label_option && current_header->header.typeflag != GNUTYPE_VOLHDR)
return;
+
+ if (show_stored_names_option)
+ {
+ switch (subcommand_option)
+ {
+ case CAT_SUBCOMMAND:
+ case UPDATE_SUBCOMMAND:
+ case APPEND_SUBCOMMAND:
+ case CREATE_SUBCOMMAND:
+ temp_name = st->file_name ? st->file_name : st->orig_file_name;
+ break;
+
+ default:
+ temp_name = st->orig_file_name ? st->orig_file_name : st->file_name;
+ }
+ }
+ else
+ temp_name = st->orig_file_name ? st->orig_file_name : st->file_name;
if (block_number_option)
{