From 0d18cf5b469ce7c9258d83cf3b761f38c8147bf8 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Thu, 15 Nov 2012 06:14:54 -0800 Subject: [PATCH] Update boinc_zip to use current info-zip source files (info-zip 3.0 and info-unzip 6.0) --- zip/test.c | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 zip/test.c diff --git a/zip/test.c b/zip/test.c deleted file mode 100644 index b2a298561a..0000000000 --- a/zip/test.c +++ /dev/null @@ -1,32 +0,0 @@ -#define DIRREF long - -#include "config.h" -#include "boinc_zip.h" -#ifndef _WIN32 -#endif - -int main() -{ - int retval = -2; - ZipFileList zf; - -#ifdef _WIN32 - // replace with the path/file wildcard of your choice - int retval = boinc_zip(ZIP_IT, - "e:\\temp\\netsup.vxd e:\\temp\\vredir.vxd", - "e:\\temp\\test.zip", NULL); - retval = boinc_zip(UNZIP_IT, "e:\\temp\\test.zip", - "/home/carlc/testing", NULL); -#else - std::string zipfile = "test.zip"; - if (boinc_filelist("/var/home/carlc/", ".txt", &zf) && zf.size()) { - retval = boinc_zip(ZIP_IT, zipfile, &zf); - retval = boinc_zip(UNZIP_IT, zipfile, NULL); - } -#endif - - return retval; -} - - -const char *BOINC_RCSID_9f234ef8a3 = "$Id: test.c 4979 2005-01-02 18:29:53Z ballen $";