diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-05-22 10:05:01 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-05-22 10:05:01 +0000 |
commit | df7289bb99180fc661260ab209c84d481e530572 (patch) | |
tree | 8b8b1a717fc59ec3f3246e15754902053b4a9f18 /file.h | |
parent | 03f0e46d6f41fab84c927eb6b340df6afd030410 (diff) | |
download | wireshark-df7289bb99180fc661260ab209c84d481e530572.tar.gz wireshark-df7289bb99180fc661260ab209c84d481e530572.tar.bz2 wireshark-df7289bb99180fc661260ab209c84d481e530572.zip |
Note that, given that ws_rename() is a wrapper around ws_stdio_rename()
on Windows, and that ws_stdio_rename() uses MoveFileEx() with
MOVEFILE_REPLACE_EXISTING and should therefore remove the target if it
exists, the extra "remove the target first" stuff should not be
necessary on Windows - if we remove it, it also keeps the code from
removing the target and then having the rename fail, with the result
that the target no longer exists.
svn path=/trunk/; revision=42776
Diffstat (limited to 'file.h')
0 files changed, 0 insertions, 0 deletions