Talk:Rename (computing)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Computing (Rated Stub-class)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Stub-Class article Stub  This article has been rated as Stub-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.

Windows atomic rename[edit]

It seems I reworded this bit during my merge; the original rename (C) page said “the underlying WIN32 call has (since Win2K) had an option to replicate the POSIX atomic behavior”. A quick web search, looking at bug reports in other software, MSDN comments, etc (not particularly reliable sources) point at these Windows APIs:

  • MoveFileEx(), but some suggest this is only usually atomic, not guaranteed
  • MoveFileTransacted()
  • ReplaceFile(), although the list of documented errors and some sources raise doubts about it being atomic

Vadmium (talk, contribs) 05:42, 19 January 2013 (UTC)