Make glibc and its developers happy. Circumvent the lack of strlcat in glibc.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@160979 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Host/common/Host.cpp b/source/Host/common/Host.cpp
index 06beb11..07e966b 100644
--- a/source/Host/common/Host.cpp
+++ b/source/Host/common/Host.cpp
@@ -1016,7 +1016,9 @@
                         ::strncpy (framework_pos, "/Resources/Python", PATH_MAX - (framework_pos - raw_path));
                     }
 #else
-                    ::strlcat(raw_path, "/python", sizeof(raw_path));
+                    // We may get our string truncated. Should we protect
+                    // this with an assert?
+                    ::strncat(raw_path, "/python", sizeof(raw_path) - strlen(raw_path) - 1);
 #endif
                     FileSpec::Resolve (raw_path, resolved_path, sizeof(resolved_path));
                     g_lldb_python_dir.SetCString(resolved_path);