|
| From: | savannah-bounces |
| Subject: | [Mldonkey-tasks] [task #4387] support zipped guarding.p2p |
| Date: | Tue, 12 Jul 2005 10:01:18 +0000 |
| User-agent: | Opera/8.01 (Windows NT 5.1; U; en) |
Follow-up Comment #4, task #4387 (project mldonkey):
We could include the code from CamlZip
(http://cristal.inria.fr/~xleroy/software.html) to convert the
guarding.p2p.zip to guarding.p2p.
I guess we would just need to include zip.ml/mli from this project and call it
once if the downloaded file ends in '.zip' like this:
let extract zipfile =
let ic = Zip.open_in zipfile in
List.iter (extract_entry ic) (Zip.entries ic);
Zip.close_in ic
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?func=detailitem&item_id=4387>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |