unzip

Kim B. Heino Kim.Heino at bluegiga.com
Mon Feb 6 16:59:26 UTC 2006


Hello,

If I do following with Info-ZIP:

echo foo > foo; zip -9 foo.zip foo

...I get foo.zip (142 bytes) which can't be unzipped with busybox 1.1.0:

[root at ysi2 /tmp]$ unzip foo.zip
Archive:  foo.zip
   inflating: foo
unzip: Cannot complete extraction
[root at ysi2 /tmp]$

Attached patch will fix the problem. Is it the correct way to do it? 
I'll add this to the bug tracking system.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unzip.patch
Url: http://lists.busybox.net/pipermail/busybox/attachments/20060206/83c6d128/attachment.diff 


More information about the busybox mailing list