Skip to content

boost/libs/filesystem/src/operations.cpp: Wrong Arguments Order #330

@stasos24

Description

@stasos24

since at unistd.h:

extern int symlink (const char *__from, const char *__to)

there could be possible wrong arguments order at

filesystem/src/operations.cpp

Lines 3511 to 3517 in 30b312e

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());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions