FS#24267 - [file] Zip archives are not detected.

Attached to Project: Arch Linux
Opened by Constantine Pokrovsky (cpokrovsky) - Saturday, 14 May 2011, 02:24 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 15 May 2011, 08:19 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Zip archives are not detected which impacts various software that relies on file (e.g. midnight commander is unable to recognize zip files).

Additional info:
* file-5.07-1
* reported to upstream: http://bugs.gw.com/view.php?id=124

Steps to reproduce:
% echo "test" > test
% zip test.zip test
% file test.zip

Output:
"test.zip: data"

Expected output:
"test.zip: Zip archive data"
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 15 May 2011, 08:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  5.07-3
Comment by Allan McRae (Allan) - Saturday, 14 May 2011, 09:23 GMT
If you are going to fix this bug, use the upstream patch rather than the one attached here which is horribly broken.
Comment by Greg (dolby) - Saturday, 14 May 2011, 09:48 GMT
Tobias, towards whom i assume your comment is addressed to isnt in notification list.
Comment by Tobias Powalowski (tpowa) - Saturday, 14 May 2011, 10:45 GMT
Allan can you take care of it, i don't have the time right now, sorry for breaking the package.
Looked like a simple one liner to me.
Comment by Constantine Pokrovsky (cpokrovsky) - Saturday, 14 May 2011, 11:05 GMT
Please change "Zip Archive data" to "Zip archive data" in upstream patch.

Loading...