Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions bin/ar
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,13 @@ exit 0;
sub printMember {
my ($name, $pAr, $verbose) = @_;

print "\n<$name>\n\n" if $verbose;

# dump the data
print $pAr->{$name}[6];
if (exists $pAr->{$name}) {
print "\n<$name>\n\n" if $verbose;
print $pAr->{$name}[6];
}
else {
warn "entry not found in archive: '$name'\n";
}
}

# writes a directory-style listing for the specified archive member
Expand Down