mc 4.5.55 has a bug with zip support
Oskar Liljeblad
oskar at osk.mine.nu
Tue Jan 22 22:28:01 UTC 2002
On Tuesday, January 22, 2002 at 17:07, Pavel Roskin wrote:
>
> > I have a simple shell script that I use to wgets stuff from certain
> > webpages (mainly lecture notes, but that's not important). Now 'wget -m
> > -np -nH' produces a directory named %7E<username>, where the %7E is
> > obviously a replacement for the ~ character.
> >
> > I used zip to compress all those directories, and later tried to browse
> > the contents of that zip file with mc. It displays those directories as
> > 0.000000E+00<username> which indicates that mc probably mistakes the %7E's
> > for a format string. Obviously unpacking (i.e. copying from the zip)
> > doesn't work, too.
>
> I could reproduce the problem. The problem in the uzip script.
> Debugging shows that an unsafe printf is guilty. I'm applying the
> following patch right now.
Ok, thanks. I applied the patch it to my version of uzip on
http://www.student.lu.se/~nbi98oli/. Except for the
version number, it should be exactly the same as
the one in CVS, so there's no point that I send
the whole patch.
Regards,
Oskar Liljeblad (oskar at osk.mine.nu)
More information about the mc-devel
mailing list