Comment 130 for bug 580961

Revision history for this message
Vitaly (md-xytop) wrote :

How I fixed it:

(/home/user) $: apt-cache source unzip
(/home/user) $: cd unzip-6.0
(/home/user) $: gedit extract.c

go to line 2599..

there will be:

if (!isprint(*r)) {

You have to replace it to:

if(!iswprint(*r)) {

(we replaced function isprint by iswprint).

And now do:

(/home/user) $: cp unix/Makefile ./
(/home/user) $: make generic
(/home/user) $: sudo make install

After this operation unzip will work like a charm :)
!!! AND BONUS: Not only unzip, but Archive Manager will correctly show zipped file names from now!