[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wrong behavior of ``readlink -f''?

From: Jim Meyering
Subject: Re: Wrong behavior of ``readlink -f''?
Date: Wed, 13 Feb 2008 08:53:01 +0100

Thomas Schwinge <address@hidden> wrote:
> $ readlink -f a/../a/f
> $ echo $?
> 1
> readlink (GNU coreutils) 5.97
> Why doesn't it resolve the latter case just as the previous ones?
> Because there are two symbolic links involved?  Or two times the same
> one?  Strange.

Thanks for the report.
That's because the code concluded it had encountered a cycle.
The bug was fixed for coreutils-6.9.90 via a change to gnulib's
canonicalize module.

Regarding your attempt to build from checked-out sources,
you might want to try the latest stable release:


or a snapshot (post-6.10) tarball:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]