Hello,
Today one of the users reported me a problem with editing files compressed with
From my research the exit status means:
I'm trying to spot a problem in a source code of an uzip extfs module here: /usr/local/libexec/mc/extfs.d/uzip but unfortunately without luck.
The version of
Did anyone have a similar problem? Any help would be appreciated.
Solution:
There is a bug in misc/mc Makefile that sets the value of a variable incorrect:
I've already submitted a patch to the port. For anyone having similar problem before the Makefile gets fixed a quick solution is to edit /usr/local/libexec/mc/extfs.d/uzip and correct the value of:
with:
After doing so mc works with zip archives as expected.
Today one of the users reported me a problem with editing files compressed with
zip
using mc
. When doing so the following error comes up:uzip (copyin): `unzip' failed - non-zero exit status (10)
From my research the exit status means:
invalid options were specified on the command line.
I'm trying to spot a problem in a source code of an uzip extfs module here: /usr/local/libexec/mc/extfs.d/uzip but unfortunately without luck.
The version of
mc
and unzip
used on my system are:
Code:
~ # pkg info | grep -E "mc-4|unzip"
mc-4.8.12_2 Midnight Commander, a free Norton Commander Clone
unzip-6.0_2 List, test, and extract compressed files from a ZIP archive
Did anyone have a similar problem? Any help would be appreciated.
Solution:
There is a bug in misc/mc Makefile that sets the value of a variable incorrect:
Code:
ZIP=${UNZIP_CMD}
Code:
my $app_zip = /usr/local/bin/unzip
Code:
my $app_zip = /usr/local/bin/zip
After doing so mc works with zip archives as expected.