|
Boost Users : |
Subject: Re: [Boost-users] [filesystem] support for reading symlinks?
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2009-07-17 14:51:57
2009/7/17 Nils Krumnack <nils_at_[hidden]>:
>
> I was wondering whether there was any support for reading the contents of a
> symlink in the filesystem library, i.e. the path to the file it points to.
> Â I saw that back in 2006 somebody submitted a patch that would (among other
> things) do this. Â However the patch seems never to have made it into the
> main trunk.
>
> Of course that is fairly easy to implement that myself, but if there is a
> standard implementation I'd rather use that.
>
I don't believe there's a standard implementation. Last I heard,
though, Beman was working on a revised implementation that will
hopefully have the needed functionality.
I think one of the deprecated functions (canonize, perhaps) does a
full symlink elimination, so you might be able to use that.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net