[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Zip problems (Re: (no subject))
From: ismail donmez <voidcartman () yahoo ! com>
Date: 2002-11-14 18:39:47
[Download RAW message or body]
> Yeah I can reproduce it too, now, with a .sxw file.
> The bug is in Holger Schröder's last commit to
> kzip.cpp (which was a rather
> big change). I'm trying to debug it, but it's a bit
> hard, without knowing the ZIP
> file format at all.
>
> $ ./kziptest list /k/mytext.sxw
> Read from offset : 0
> P
> K
> \x03
> \x04
> compressed file size=0 (looks wrong!)
> filenamelength=11 (which is ok for
> "contents.xml")
> extra field length=0
> skip=11
> dev->at()=41
> offset=41
> Read from offset : 41
> \xad
> V
> \xdb
> n
> KZip: WARNING: Invalid ZIP file. Unrecognized header
> at offset 41
>
> I tried changing the offset where the compressed
> file size is read, but I get 0
> in all cases....
>
> But unzip manages to find the data....
> Length Method Size Ratio Date Time
> CRC-32 Name
> - -------- ------ ------- ----- ---- ----
> ------ ----
> 2593 Defl:N 895 66% 03-06-02 19:12
> 29e00009 content.xml
> [...]
>
> Strange, I can't find 2593 nor 895 with khexedit
> (??)
> Holger - help!
>
> - --
> David FAURE, david@mandrakesoft.com, faure@kde.org
> http://people.mandrakesoft.com/~david/
> Contributing to: http://www.konqueror.org/,
> http://www.koffice.org/
> Get the latest KOffice -
> http://download.kde.org/stable/koffice-1.2/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
Ok We found our guy :-)
Nice work David btw let me thank all Koffice crew for
the excellent software too :)
=====
Microsoft Windows: made for the internet
The Internet: made for UNIX
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic