Fix to make 'ar xv' work, thanks to Kent Robotti <robotti@metconnect.com>
authorEric Andersen <andersen@codepoet.org>
Fri, 11 Aug 2000 20:11:35 +0000 (20:11 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 11 Aug 2000 20:11:35 +0000 (20:11 -0000)
 -Erik

ar.c
archival/ar.c

diff --git a/ar.c b/ar.c
index d8c8d465b88e92d1a3110b3b49508f656426ecfb..b1200b8ae840e19fec23b1ce1b3bbe63863ff17a 100644 (file)
--- 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 
index d8c8d465b88e92d1a3110b3b49508f656426ecfb..b1200b8ae840e19fec23b1ce1b3bbe63863ff17a 100644 (file)
@@ -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