#384: pbc_dump -h should not fail on version mismatch
---------------------+------------------------------------------------------
Reporter: rurban | Owner: rurban
Type: todo | Status: new
Priority: trivial | Milestone:
Component: none | Version:
Severity: low | Keywords:
Lang: | Patch:
Platform: |
---------------------+------------------------------------------------------
pbc_dump should not fail too early when the version or uuid check fails on
-h. The header should always be printed.
{{{
perl tools/dev/pbc_header.pl t/native_pbc/number_3.pbc
wordsize = 4
byteorder = 1
floattype = 0
parrot_major = 0
parrot_minor = 9
parrot_patch = 0
bc_major = 3
bc_minor = 34
uuid_type = 0
uuid_size = 0
pad = 14
dir_format = 16777216, 0, 0, 0
}}}
but
{{{
pbc_dump.exe -h t\native_pbc\number_3.pbc
PackFile_unpack: This Parrot cannot read bytecode files with version 3.34.
Parrot VM: Can't unpack packfile t\native_pbc\number_3.pbc.
Can't read PBC
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/384>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets