Boost logo

Boost Users :

From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2007-06-07 05:01:54


Hello all!

Is there any way to remove a directory using boost::filesystem? remove and
remove_all throw an exception. Remove docs reference a POSIX remove(). There
is written:

[quote]
If path does not name a directory, remove(path) shall be equivalent to
unlink(path).
If path names a directory, remove(path) shall be equivalent to rmdir(path).
[/quote]

Unfortunately remove does not behave so (on WinXP and Visual C++ 8).

One more issue: the link to the POSIX remove() doc points to link() and not
remove.

With Kind Regards,
Ovanes


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