[Lldb-commits] [lldb] r307018 - Fix typo/unbreak windows build broken by r307009
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 3 04:01:49 PDT 2017
Author: labath
Date: Mon Jul 3 04:01:49 2017
New Revision: 307018
URL: http://llvm.org/viewvc/llvm-project?rev=307018&view=rev
Log:
Fix typo/unbreak windows build broken by r307009
Modified:
lldb/trunk/source/Host/common/File.cpp
Modified: lldb/trunk/source/Host/common/File.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/File.cpp?rev=307018&r1=307017&r2=307018&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/File.cpp (original)
+++ lldb/trunk/source/Host/common/File.cpp Mon Jul 3 04:01:49 2017
@@ -164,7 +164,7 @@ static int DoOpen(const char *path, int
if (!llvm::ConvertUTF8toWide(path, wpath))
return -1;
int result;
- ::_wsopen_s(&result, wpath.c_str(), oflag, _SH_DENYNO, mode);
+ ::_wsopen_s(&result, wpath.c_str(), flags, _SH_DENYNO, mode);
return result;
#else
return ::open(path, flags, mode);
More information about the lldb-commits
mailing list