dtinfo subdirectory DtMmdb

This commit is contained in:
Ulrich Wilkens
2013-08-28 19:16:37 +02:00
committed by Jon Trulson
parent 0be684281d
commit fbd81ef151
159 changed files with 735 additions and 588 deletions

View File

@@ -73,6 +73,7 @@ void zip::compress(const buffer& uncompressed, buffer& compressed)
out.close();
ret = system(form("gzip -c %s > %s", (char*)UNCOMPRESSED,(char*)COMPRESSED));
if(ret != 0) throw(systemException(ret));
fstream in(COMPRESSED, ios::in);
@@ -107,6 +108,7 @@ void zip::decompress(buffer& compressed, buffer& uncompressed)
out.close();
ret = system(form("gzip -cd %s > %s",(char*)COMPRESSED,(char*)UNCOMPRESSED));
if(ret != 0) throw(systemException(ret));
fstream in(UNCOMPRESSED, ios::in);