[llvm-commits] [llvm] r50702 - /llvm/trunk/lib/System/Win32/Path.inc
Nick Lewycky
nicholas at mxc.ca
Mon May 5 20:42:21 PDT 2008
Author: nicholas
Date: Mon May 5 22:42:21 2008
New Revision: 50702
URL: http://llvm.org/viewvc/llvm-project?rev=50702&view=rev
Log:
Fix renamePathOnDisk on Win32, patch from David Leon. This fixes problems with
llvm-ar being unable to rename files.
Modified:
llvm/trunk/lib/System/Win32/Path.inc
Modified: llvm/trunk/lib/System/Win32/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Win32/Path.inc?rev=50702&r1=50701&r2=50702&view=diff
==============================================================================
--- llvm/trunk/lib/System/Win32/Path.inc (original)
+++ llvm/trunk/lib/System/Win32/Path.inc Mon May 5 22:42:21 2008
@@ -672,7 +672,7 @@
if (!MoveFileEx(path.c_str(), newName.c_str(), MOVEFILE_REPLACE_EXISTING))
return MakeErrMsg(ErrMsg, "Can't move '" + path + "' to '" + newName.path
+ "': ");
- return true;
+ return false;
}
bool
More information about the llvm-commits
mailing list