diff options
author | Your Name <you@example.com> | 2022-02-23 15:40:22 -0500 |
---|---|---|
committer | Your Name <you@example.com> | 2022-02-23 15:40:22 -0500 |
commit | 9b9c5196a7a4572a833eed569b4ffd9ee2aa1921 (patch) | |
tree | 27dcb392757bd889ee94cd97dfc37f2543ac6060 /src/lib/mods.cc | |
parent | 733e8e6ec26eb10bef4c5de50da31adbf28052ce (diff) | |
download | libbible-9b9c5196a7a4572a833eed569b4ffd9ee2aa1921.tar.gz libbible-9b9c5196a7a4572a833eed569b4ffd9ee2aa1921.tar.bz2 libbible-9b9c5196a7a4572a833eed569b4ffd9ee2aa1921.zip |
Fixed core dump when compiled with -D_GLIBCXX_ASSERTIONS
Diffstat (limited to 'src/lib/mods.cc')
-rw-r--r-- | src/lib/mods.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/mods.cc b/src/lib/mods.cc index ab54e48..07f48da 100644 --- a/src/lib/mods.cc +++ b/src/lib/mods.cc @@ -161,14 +161,6 @@ bool libbible::installModFromInternet(string language, string name) { #define delim '/' bool libbible::installModFromZip(string filename) { - // So... turns out it's a mite unsupported to install from a .zip - // Here's the deal. We do a syscall to unzip. We fancy like that. - // TODO: Use the ZipCompress module from SWORD instead. - /*string command = "unzip -o " + filename + " -d " + basedir + "&> /dev/null"; - if(system(command.c_str())) { - //Uh oh... - printf("Something bad happened when unpacking %s\n. Is unzip installed?", filename.c_str()); - }*/ unzFile zipfile = unzOpen(filename.c_str()); if(zipfile == NULL) { return false; |