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 Brodin 2018-05-20 22:07:44 +00:00
parent d3fff23be8
commit a665699823
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333944

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.