From: Walter Landry (wlandry_at_[hidden])
Date: 2004-03-11 16:14:02
"Neal D. Becker" <ndbecker2_at_[hidden]> wrote:
> Walter Landry wrote:
> > Beman Dawes <bdawes_at_[hidden]> wrote:
> >> At 08:45 AM 3/11/2004, Neal D. Becker wrote:
> >> >Should it be added?
> >> It is messy for directories on Windows. That's been the holdup. There are
> >> also some other Boost.Filesystem enhancements which have higher priority.
> >> So unless someone else wants to work up a proposed Windows
> >> implementation, it won't happen anytime soon.
> > How about an implementation that just throws when used on Windows?
> > I've got that already written.
> IIRC, cygwin does have some support for hard links? If so, when you say
> "windows" I guess you mean native windows as opposed to cygwin?
It throws whenever BOOST_POSIX is not defined. It is just this (works
with 1.30.0, don't know about 1.31.0):
void link( const path & from_file_ph,
const path & to_file_ph )
# ifdef BOOST_POSIX
to_file_ph.native_file_string().c_str()) != 0)
from_file_ph, to_file_ph, fs::detail::system_error_code() ) );
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk