X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/421c8d109932a2615b9327c8b69aad715d4b1162..f8477782df203e1998a8704e71a1a3cc699e9e3a:/test/scratch.cc diff --git a/test/scratch.cc b/test/scratch.cc index 6f55e53d0..d638c7097 100644 --- a/test/scratch.cc +++ b/test/scratch.cc @@ -7,13 +7,16 @@ #include #include +using namespace std; + int main(int argc,char *argv[]) { - pkgInitialize(*_config); + pkgInitConfig(*_config); + pkgInitSystem(*_config,_system); - cout << flNoLink(argv[1]) << endl; +// cout << flNoLink(argv[1]) << endl; - #if 0 +// #if 0 /* DynamicMMap *FileMap = new DynamicMMap(MMap::Public); pkgFLCache *FList = new pkgFLCache(*FileMap); @@ -97,6 +100,6 @@ int main(int argc,char *argv[]) Deb.ExtractArchive(Extract); } // #endif -#endif +//#endif _error->DumpErrors(); }