|
|
|
@ -235,7 +235,7 @@ static int do_list(unzFile uf) { |
|
|
|
|
|
|
|
|
|
err = unzGetGlobalInfo64(uf,&gi); |
|
|
|
|
if (err!=UNZ_OK) |
|
|
|
|
printf("error %d with zipfile in unzGetGlobalInfo \n",err); |
|
|
|
|
printf("error %d with zipfile in unzGetGlobalInfo\n",err); |
|
|
|
|
printf(" Length Method Size Ratio Date Time CRC-32 Name\n"); |
|
|
|
|
printf(" ------ ------ ---- ----- ---- ---- ------ ----\n"); |
|
|
|
|
for (i=0;i<gi.number_entry;i++) |
|
|
|
@ -482,7 +482,7 @@ static int do_extract(unzFile uf, int opt_extract_without_path, int opt_overwrit |
|
|
|
|
|
|
|
|
|
err = unzGetGlobalInfo64(uf,&gi); |
|
|
|
|
if (err!=UNZ_OK) |
|
|
|
|
printf("error %d with zipfile in unzGetGlobalInfo \n",err); |
|
|
|
|
printf("error %d with zipfile in unzGetGlobalInfo\n",err); |
|
|
|
|
|
|
|
|
|
for (i=0;i<gi.number_entry;i++) |
|
|
|
|
{ |
|
|
|
|