Skip to content
Snippets Groups Projects
Commit f72ddd45 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: support Foam::mv overwrite of existing files on windows (#1238)

- the behaviour of std::rename with overwriting an existing file is
  implementation dependent:
    - POSIX: it overwrites.
    - Windows: it does not overwrite.

- for Windows need to use the ::MoveFileEx() routine for overwriting.

  More investigation is needed for proper handling of very long names.
parent 84f02a18
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment