[File] Big endianess problem on s390x?
Christos Zoulas
christos at zoulas.com
Mon May 18 11:15:40 EDT 2026
Is this after the most recent change that includes byte swapping?
Thanks,
christos
> On May 18, 2026, at 8:01 AM, Dr. Werner Fink <werner at suse.de> wrote:
>
> Signed PGP part
> On 2026/05/18 11:38:07 +0200, Dr. Werner Fink wrote:
>> Hi,
>>
>> the test
>>
>> [ 133s] Running test: ../tests/efi-signature-list-sha256
>> [ 133s] TZ=UTC MAGIC=../magic/magic ./test -e ../tests/efi-signature-list-sha256.testfile ../tests/efi-signature-list-sha256.result
>> [ 133s] test: ERROR: result was (len 4)
>> [ 133s] data
>> [ 133s] expected (len 49)
>> [ 133s] EFI Signature List, SHA256, total size: 76 bytes
>> [ 133s] ../tests/efi-signature-list-sha256.testfile: data
>>
>> fails on s390x
>>
>
> The attached patch does resolve the problem ... there are also
> other way to solve that which woould require also changes in
> file_parse_guid()
>
> Werner
>
> --
> "Having a smoking section in a restaurant is like having
> a peeing section in a swimming pool." -- Edward Burr
> <file-5.47-s390x.patch>
> --
> File mailing list
> File at astron.com <mailto:File at astron.com>
> https://mailman.astron.com/mailman/listinfo/file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.astron.com/pipermail/file/attachments/20260518/cf1ec645/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <http://mailman.astron.com/pipermail/file/attachments/20260518/cf1ec645/attachment.asc>
More information about the File
mailing list