1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

PackMachFat has trouble with --fileinfo

This commit is contained in:
John Reiser 2007-02-07 22:24:42 -08:00
parent 8cfb9d35e9
commit 52d89bd66b
2 changed files with 2 additions and 5 deletions

View File

@ -770,11 +770,13 @@ int PackMachFat::canUnpack()
PackMachI386 packer(fi);
if (!packer.canUnpack())
return 0;
ph.format = packer.getFormat(); // FIXME: copy entire PackHeader
} break;
case PackMachFat::CPU_TYPE_POWERPC: {
PackMachPPC32 packer(fi);
if (!packer.canUnpack())
return 0;
ph.format = packer.getFormat(); // FIXME: copy entire PackHeader
} break;
} // switch cputype
}
@ -796,10 +798,6 @@ void PackMachFat::list()
assert(false);
}
void PackMachFat::fileInfo()
{
assert(false);
}
/*
vi:ts=4:et
*/

View File

@ -498,7 +498,6 @@ protected:
virtual void pack(OutputFile *fo);
virtual void unpack(OutputFile *fo);
virtual void list();
virtual void fileInfo();
public:
virtual bool canPack();