Re: mc 4.5.55 has a bug with zip support



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 osk mine nu)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]