Boost logo

Boost :

From: Tom Harris (TomH_at_[hidden])
Date: 2002-07-15 18:04:39


Two comments:
        Win32 calls are not prefixed by `::`, whereas the POSIX calls are,
is there a reason for this?
        The boost::filesystem::rename() function cannot move a directory to
a different drive on Windows as it uses the ::MoveFile call. I think that
the only way of doing this on Windows is to copy all files and directories
manually. Perhaps just document this limitation, rather than trying to code
workarounds. Apparently the POSIX rename() can also fail if the directories
are on different filesystems, but I am no POSIX expert and this might be
hearsay.

Tom Harris, Software Engineer
Optiscan Imaging, 15-17 Normanby Rd, Notting Hill, Melbourne, Vic 3168,
Australia
email tomh_at_[hidden] ph +61 3 9538 3333 fax +61 3 9562 7742

This email may contain confidential information. If you have received this
email in error, please delete it immediately,and inform us of the mistake by
return email. Any form of reproduction, or further dissemination of this
email is strictly prohibited. Also, please note that opinions expressed in
this email are those of the author, and are not necessarily those of
Optiscan Pty Ltd.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk