]> git.ipfire.org Git - thirdparty/zstd.git/commit
Make detection of symbolic links more consistent
authorBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Mon, 11 Feb 2019 23:07:32 +0000 (00:07 +0100)
committerBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Tue, 12 Feb 2019 00:56:05 +0000 (01:56 +0100)
commit482b84f07bd80a917bc8a10a92b2331e680bec56
tree84c29b744eee7365560b75747b7d958eaeefbaf7
parent1e4dc2e5f1964e453942210fb584135de17d7a8c
Make detection of symbolic links more consistent

While fixing the detection of symbolic links on OpenBSD I noticed
inconsistent behaviour:

$ echo hello > hello
$ ln -s hello world
$ zstd hello world
Warning : world is a symbolic link, ignoring
hello                :316.67%   (     6 =>     19 bytes, hello.zst
$ ls *.zst
hello.zst
$ zstd world
world                :316.67%   (     6 =>     19 bytes, world.zst)
$ ls *.zst
hello.zst world.zst
programs/zstdcli.c