Steps to reproduce:
1. curl -O
https://geo.mirror.pkgbuild.com/core/os/x86_64/gcc-13.2.1-3-x86_64.pkg.tar.zst
2. open the file "gcc-13.2.1-3-x86_64.pkg.tar.zst" in mc
3. navigate to /usr/bin inside the archive
4. copy (F5) the file "gcc" somewhere e.g. /tmp
5. outside of mc, execute `file /tmp/gcc'
It will show the file type as:
"POSIX tar archive"
When of course it should be:
"ELF 64-bit LSB executable"
I haven't git bisected (yet) but I do note some new tar functionality
mentioned in the 4.8.30 release notes.
Thanks
--
Ticket URL: <http://www.midnight-commander.org/ticket/4494>
Midnight Commander <https://midnight-commander.org>
Midnight Development Center
Comment (by Toolybird):
> I haven't git bisected (yet)
Unfortunately the source is not git bisectable. It bombed out with a
compilation failure at:
4158824d70b9d298b2e02c202ddfc77f7fd5dd82
--
Ticket URL: <http://www.midnight-commander.org/ticket/4494#comment:1>
Comment (by andrew_b):
From `ls -l`:
{{{
-rwxr-xr-x 4 andrew andrew 1955824 Aug 2 10:06 c++
-rwxr-xr-x 4 andrew andrew 1955824 Aug 2 10:06 g++
-rwxr-xr-x 4 andrew andrew 1955824 Aug 2 10:06 x86_64-pc-linux-gnu-c++
-rwxr-xr-x 4 andrew andrew 1955824 Aug 2 10:06 x86_64-pc-linux-gnu-g++
}}}
These are hardlinks. Support of hard links is broken.
--
Ticket URL: <http://www.midnight-commander.org/ticket/4494#comment:2>