diff options
Diffstat (limited to 'lldb/tools/lldb-mi/MIUtilFileStd.cpp')
| -rw-r--r-- | lldb/tools/lldb-mi/MIUtilFileStd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/tools/lldb-mi/MIUtilFileStd.cpp b/lldb/tools/lldb-mi/MIUtilFileStd.cpp index 69730204a00..ed80466b2df 100644 --- a/lldb/tools/lldb-mi/MIUtilFileStd.cpp +++ b/lldb/tools/lldb-mi/MIUtilFileStd.cpp @@ -231,7 +231,8 @@ CMIUtilFileStd::IsFileExist(const CMIUtilString &vFileNamePath) const if (vFileNamePath.empty()) return false; - FILE *pTmp = lldb_private::FileSystem::Fopen(vFileNamePath.c_str(), "wb"); + FILE *pTmp = nullptr; + pTmp = ::fopen(vFileNamePath.c_str(), "wb"); if (pTmp != nullptr) { ::fclose(pTmp); |

