Revert last change to file/magic/Magdir/elf, it misidentifies most shared

libraries installed from ports as pie executables instead of shared libraries,
and consequently breaks ports.
This commit is contained in:
antoine 2018-05-20 22:07:44 +00:00
parent f935dfc400
commit 4529176e69

View File

@ -48,9 +48,8 @@
!:mime application/x-object
>16 leshort 2 executable,
!:mime application/x-executable
>16 leshort 3 ${x?pie executable:shared object}
!:mime application/x-${x?pie-executable:sharedlib}
>16 leshort 3 shared object,
!:mime application/x-sharedlib
>16 leshort 4 core file
!:mime application/x-coredump
# Core file detection is not reliable.