Ticket #3240 (closed defect: fixed)
RAR VFS incorrectly recognizes UnRAR version
Reported by: | darek | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.8.13 |
Component: | mc-vfs | Version: | 4.8.12 |
Keywords: | rar | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: | committed-master |
Description
Description of the problem:
Some options in .rarrc configuration file can make RAR VFS to incorrectly recognize UnRAR as version 4.x instead of 5.x.
Version of Midnight Commander:
mc-4.8.12 and unrar-5.1.7
Steps to reproduce the problem:
- Create in the user's home directory .rarrc file with the following line inside:
switches= -idc
- Start mc
- Press <Enter> on any rar archive
- Instead of RAR VFS containing archive contents, Midnight Commander displays set of error messages "Cannot parse: ...."
Solution:
Add -cfg- option to the command used to detect UnRAR version. This option prevents UnRAR from reading configuration from .rarrc file. Please find a patch to RAR VFS attached.
Attachments
Change History
Changed 10 years ago by darek
- Attachment mc-4.8.12-urar.in.patch added
comment:1 Changed 10 years ago by andrew_b
- Blocked By 3189 added
- Milestone changed from Future Releases to 4.8.13
Note: See
TracTickets for help on using
tickets.
Patch to RAR VFS