[patch] uzip support for non-unix attributes

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Wed Feb 9 21:05:52 UTC 2005


Roland Illig wrote:
> Jindrich Makovicka wrote:
> 
>> Hello,
>>
>> I have problems with uzip & zipinfo 2.41 on Debian unstable as this 
>> version of zipinfo displays file attributes in zip files created under 
>> DOS or Windows as 7 character strings instead of 10. Consequently, the 
>> regular expression used in current uzip refuses all the lines with 
>> such attributes. This means all zip files show as empty. The attached 
>> patch allows 7 to 10 character wide attribute fields in Zipinfo 
>> output, which fixes the problem.
> 
> 
> How do the file attributes look then? It's because they are parsed by 
> the Midnight Commander and should contain something useful.

As far as i looked into the code, uzip substitutes its own default 
attributes for any non-unix files, so this shouldn't be an issue.

-- 
Jindrich Makovicka



More information about the mc-devel mailing list