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:
parent
8cfb9d35e9
commit
52d89bd66b
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user