since at unistd.h:
extern int symlink (const char *__from, const char *__to)
there could be possible wrong arguments order at
|
void create_directory_symlink(path const& to, path const& from, system::error_code* ec) |
|
{ |
|
if (ec) |
|
ec->clear(); |
|
|
|
#if defined(BOOST_POSIX_API) |
|
int err = ::symlink(to.c_str(), from.c_str()); |