projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b34849
)
Fix renamePathOnDisk on Win32, patch from David Leon. This fixes problems with
author
Nick Lewycky
<nicholas@mxc.ca>
Tue, 6 May 2008 03:42:21 +0000
(
03:42
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Tue, 6 May 2008 03:42:21 +0000
(
03:42
+0000)
llvm-ar being unable to rename files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50702
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Win32/Path.inc
patch
|
blob
|
history
diff --git
a/lib/System/Win32/Path.inc
b/lib/System/Win32/Path.inc
index 357cb2f27eea492e4d7cf38776472a8870bbb464..ce5fe2a3a5fcdfe1dc93187b5e71739d4b71a11a 100644
(file)
--- a/
lib/System/Win32/Path.inc
+++ b/
lib/System/Win32/Path.inc
@@
-672,7
+672,7
@@
Path::renamePathOnDisk(const Path& newName, std::string* ErrMsg) {
if (!MoveFileEx(path.c_str(), newName.c_str(), MOVEFILE_REPLACE_EXISTING))
return MakeErrMsg(ErrMsg, "Can't move '" + path + "' to '" + newName.path
+ "': ");
- return
tru
e;
+ return
fals
e;
}
bool