Opened 13 years ago

Closed 12 years ago

#3333 closed Bugs (worksforme)

Header and documentation of filesystem::create_hard_link suggest wrong order of arguments

Reported by: anonym Owned by: Beman Dawes
Milestone: Boost 1.40.0 Component: filesystem
Version: Boost 1.39.0 Severity: Problem
Keywords: vc9 Cc:

Description

The header "boost/filesystem/operations.hpp" and the doc state:

create_hard_link( const Path & to_ph, const Path & from_ph )

From this I expect: to_ph: name of an existing file from_ph: name of a file to create

The observed behavior is exactly the opposite.

--Chr.

Change History (1)

comment:1 by Beman Dawes, 12 years ago

Resolution: worksforme
Status: newclosed

I was not able to reproduce this problem. Also, there are very specific test cases in operations_test.cpp that would detect this problem, and they are not failing.

Thus I'm closing the ticket. If someone wants to reopen, they need to provide specifics such as operating system, compiler, etc.

--Beman

Note: See TracTickets for help on using tickets.