From: stephan b. <st...@wa...> - 2003-01-30 00:38:36
|
i just re-added some gzip support to SerialTree-qxml.cpp, using gzread() = and=20 gzwrite() (from zlib). i'm certain that my size estimate for the read buf= fer=20 is way, way off (i do filesize * 100), but there's a cerr message showing= =20 actual vs planned so we can narrow that number down. The danger of * 100 = is=20 if we read an uncompressed, large gcom - easily 200MB would get allocated= ,=20 which obviously isn't okay. :/ Anyway, it "appears to work okay." --=20 ----- st...@wa... http://qub.sourceforge.net - http://radioaqtiph.sourceforge.net http://countermoves.sourceforge.net - http://stephan.rootonfire.org "Now I'm not the type of person who likes to trespass, but sometimes you just find yourself over the line." -- Bob Dylan |