From f73363f1dd94996356cefbf24388f561891acf0b Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 28 Jul 2018 11:09:23 +0000 Subject: Vendor import of lldb trunk r338150: https://llvm.org/svn/llvm-project/lldb/trunk@338150 --- source/Host/posix/FileSystem.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'source/Host/posix/FileSystem.cpp') diff --git a/source/Host/posix/FileSystem.cpp b/source/Host/posix/FileSystem.cpp index 3ece0677f991..60be642df608 100644 --- a/source/Host/posix/FileSystem.cpp +++ b/source/Host/posix/FileSystem.cpp @@ -16,11 +16,6 @@ #include #include #include -#ifdef __linux__ -#include -#include -#include -#endif #if defined(__NetBSD__) #include #endif @@ -52,7 +47,7 @@ Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) { error.SetErrorToErrno(); else { buf[count] = '\0'; // Success - dst.SetFile(buf, false); + dst.SetFile(buf, false, FileSpec::Style::native); } return error; } -- cgit v1.3