extfs/uzip does not parse new 'unzip -v' format correctly

Bug #505963 reported by Helge Doering
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mc (Ubuntu)
Fix Released
Undecided
Unassigned
Karmic
New
Undecided
Unassigned

Bug Description

Binary package hint: mc

mc uses 'unzip -qq -v' to
1. display contents of F3 viewer (this works correctly)
2. enter a virtual directory tree, one can browse (like any normal directory)

Current behaviour:
When entering a zip file, mc only displays an empty folder, without any error messages.

Expected behaviour:
The contents of the zip file should be displayed as browsable directory

Possible cause:
In /usr/share/doc/unzip/changelog.Debian.gz the following is mentioned:
* Built using DATE_FORMAT=DF_YMD so that unzip -l show dates in ISO format, as that's the only available one which makes sense. Closes: #312886.

The extfs script at /usr/share/mc/extfs/uzip expects unzip -v to return dates in mm-dd-yy. Attached is a patch with a corrected regexp to detect yyyy-mm-dd and corrected usage of the changed indexes for the fields.

System infos:
lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10

apt-cache policy mc
mc:
  Installed: 2:4.6.2-2ubuntu1
  Candidate: 2:4.6.2-2ubuntu1
  Version table:
 *** 2:4.6.2-2ubuntu1 0
        500 http://de.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

apt-cache policy unzip
unzip:
  Installed: 6.0-1
  Candidate: 6.0-1
  Version table:
 *** 6.0-1 0
        500 http://de.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

Tags: karmic
Revision history for this message
Helge Doering (spacy) wrote :
tags: added: karmic
Revision history for this message
Helge Doering (spacy) wrote :

Package mc_4.7.0-1ubuntu1 from Lucid does not have this bug. It uses the new date format already.

Revision history for this message
Brian Murray (brian-murray) wrote :

Setting the bug's status to Fix Released since this is fixed in Lucid. To get the bug fixed in Karmic please follow the Stable Release Updates process documented at http://wiki.ubuntu.com/StableReleaseUpdates. Thank you for the patch!

Changed in mc (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.