Skip to content
  • Mark OLESEN's avatar
    ENH: support Foam::mv overwrite of existing files on windows (#1238) · 90f039fa
    Mark OLESEN authored
    - 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.
    90f039fa