[File] Problem with LESHORT casting

Christos Zoulas christos at zoulas.com
Wed Jun 1 22:15:44 UTC 2022



> On Jun 1, 2022, at 4:18 AM, Greg Wildman <lists at itns.co.za> wrote:
> 
> 
> Roget that. I will file that under "C is broken".
> 
> What is the best way to solve this problem using magic pattern ? Is
> changing `leshort` to 'uleshort` the best option ?
> 

I guess this is the only way since %hu is not supported by file...

christos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20220601/59890625/attachment.asc>


More information about the File mailing list