[Top][All Lists]

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

Re: feature request: realpath

From: j kalbhenn
Subject: Re: feature request: realpath
Date: Sun, 4 Jun 2017 21:36:53 +0000
User-agent: Mutt/1.8.3 (2017-05-23)

> Guile provides "readlink".  Isn't it the thing you need?

no, i am afraid not. readlink returns the target of a symbolic link. realpath 
resolves all directory references like ".." and "." and all symbolic links in a 
path and returns a path that does not include those things.

i have now implemented my own version of realpath in scheme (could have used 
the ffi probably), but since it is a standard lib function in C and guile 
offers many other posix functions, i thought it would be well suited for 

reply via email to

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