]> git.mxchange.org Git - simgear.git/commit
Fix handling of SGPath::rename
authorJames Turner <zakalawe@mac.com>
Sat, 26 Oct 2013 20:03:00 +0000 (21:03 +0100)
committerJames Turner <zakalawe@mac.com>
Sat, 26 Oct 2013 20:03:00 +0000 (21:03 +0100)
commitf26f3b606d2d10c3b1ff1613731e640abe118a26
tree1df35371836d7f52d88168ecd35f1e4135991d7f
parent7cbfa76be4eba1b3781a5bc88d0b33dfb50c5192
Fix handling of SGPath::rename

Windows handling of ::rename differs from POSIX when the new name
exists. Check for this case on Windows and remove the file manually.
(This allows a work-around in SVNDirectory to be removed)
simgear/io/SVNDirectory.cxx
simgear/misc/sg_path.cxx