On Thu, Sep 23, 2021 at 11:13:37AM +0200, Miro Hrončok wrote: > On 23. 09. 21 9:45, Richard W.M. Jones wrote: > >After years of experience I wouldn't use "file" for anything I needed > >to work reliably. > > > >If the test is really ELF or not ELF, how about detecting the ELF > >header magic directly? > > As I say in the rest of the email, I know how to detected elves. I > just don't know if that's enough. Oh I see - I misread your second email as eu-elfclassify pulling in too many dependencies when in fact that was a different package. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure