summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2000-08-11 20:11:35 +0000
committerEric Andersen2000-08-11 20:11:35 +0000
commit6ac18a3d83b733522932e28af1037869afb4fb74 (patch)
treeaadb1e537f74e4ab35fcdfd8fc43f4038b6e80e9
parentbb39a31e339dcac1a9a85b587f60950ff48d3635 (diff)
downloadbusybox-6ac18a3d83b733522932e28af1037869afb4fb74.zip
busybox-6ac18a3d83b733522932e28af1037869afb4fb74.tar.gz
Fix to make 'ar xv' work, thanks to Kent Robotti <robotti@metconnect.com>
-Erik
-rw-r--r--ar.c2
-rw-r--r--archival/ar.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ar.c b/ar.c
index d8c8d46..b1200b8 100644
--- a/ar.c
+++ b/ar.c
@@ -249,7 +249,7 @@ static int readArFile(char *fileList[16], int fileListSize, int funct)
else {
extFileFlag=0;
- if (funct&AR_DISPLAY)
+ if ((funct&AR_DISPLAY) || (funct&AR_VERBOSE))
displayEntry(&arEntry, funct);
/* check file was specified to be extracted only if
diff --git a/archival/ar.c b/archival/ar.c
index d8c8d46..b1200b8 100644
--- a/archival/ar.c
+++ b/archival/ar.c
@@ -249,7 +249,7 @@ static int readArFile(char *fileList[16], int fileListSize, int funct)
else {
extFileFlag=0;
- if (funct&AR_DISPLAY)
+ if ((funct&AR_DISPLAY) || (funct&AR_VERBOSE))
displayEntry(&arEntry, funct);
/* check file was specified to be extracted only if