[Lldb-commits] [lldb] r297117 - Fix linux build.
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 6 19:59:00 PST 2017
Author: zturner
Date: Mon Mar 6 21:58:59 2017
New Revision: 297117
URL: http://llvm.org/viewvc/llvm-project?rev=297117&view=rev
Log:
Fix linux build.
Modified:
lldb/trunk/source/Host/common/FileSpec.cpp
Modified: lldb/trunk/source/Host/common/FileSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/FileSpec.cpp?rev=297117&r1=297116&r2=297117&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/FileSpec.cpp (original)
+++ lldb/trunk/source/Host/common/FileSpec.cpp Mon Mar 6 21:58:59 2017
@@ -905,13 +905,13 @@ FileSpec::ForEachItemInDirectory(llvm::S
ft = file_type::fifo_file;
break;
case DT_CHR:
- ft = file_type::character_device;
+ ft = file_type::character_file;
break;
case DT_DIR:
ft = file_type::directory_file;
break;
case DT_BLK:
- ft = file_type::block_device;
+ ft = file_type::block_file;
break;
case DT_REG:
ft = file_type::regular_file;
More information about the lldb-commits
mailing list