``Working'' forge unpackers. Needs a lot of hardening but good for alpha.

This commit is contained in:
Petr Mrázek
2013-09-30 02:34:46 +02:00
parent 604162acdf
commit 8b0f8b9e59
21 changed files with 413 additions and 36 deletions

View File

@@ -156,8 +156,11 @@ void unpack_200(std::string input_path, std::string output_path)
magic = read_magic(&u, peek, (int)sizeof(peek));
if (magic != (int)JAVA_PACKAGE_MAGIC)
{
// we do not feel strongly about this kind of thing...
/*
if (magic != EOF_MAGIC)
unpack_abort("garbage after end of pack archive");
*/
break; // all done
}