Fix to make 'ar xv' work, thanks to Kent Robotti <robotti@metconnect.com>
-Erik
This commit is contained in:
2
ar.c
2
ar.c
@@ -249,7 +249,7 @@ static int readArFile(char *fileList[16], int fileListSize, int funct)
|
|||||||
else {
|
else {
|
||||||
extFileFlag=0;
|
extFileFlag=0;
|
||||||
|
|
||||||
if (funct&AR_DISPLAY)
|
if ((funct&AR_DISPLAY) || (funct&AR_VERBOSE))
|
||||||
displayEntry(&arEntry, funct);
|
displayEntry(&arEntry, funct);
|
||||||
|
|
||||||
/* check file was specified to be extracted only if
|
/* check file was specified to be extracted only if
|
||||||
|
@@ -249,7 +249,7 @@ static int readArFile(char *fileList[16], int fileListSize, int funct)
|
|||||||
else {
|
else {
|
||||||
extFileFlag=0;
|
extFileFlag=0;
|
||||||
|
|
||||||
if (funct&AR_DISPLAY)
|
if ((funct&AR_DISPLAY) || (funct&AR_VERBOSE))
|
||||||
displayEntry(&arEntry, funct);
|
displayEntry(&arEntry, funct);
|
||||||
|
|
||||||
/* check file was specified to be extracted only if
|
/* check file was specified to be extracted only if
|
||||||
|
Reference in New Issue
Block a user