bug-coreutils
[Top][All Lists]
Advanced

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

Re: ls -L should say just what file doesn't exist


From: Jim Meyering
Subject: Re: ls -L should say just what file doesn't exist
Date: Thu, 17 Nov 2005 23:37:03 +0100

"Theodoros V. Kalamatianos" <address@hidden> wrote:
...
> What about using realpath() ? According to the realpath(3) manpage it
> exists on BSD, Linux, and Solaris and gives out an absolute dereferenced
> path. This could cut down significantly the necessary code.

You're right that there's already code to do that.
In coreutils, it'd be lib/canonicalize.c's canonicalize_file_name function.




reply via email to

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