Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Calling rename() has implementation-defined behavior when the new file name refers to an existing file. Incorrect use of rename() could result in a file being unexpectedly overwritten or other unexpected behavior.

...