summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Host/common/Host.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp
index 6ab65067dca..d812ae045e3 100644
--- a/lldb/source/Host/common/Host.cpp
+++ b/lldb/source/Host/common/Host.cpp
@@ -1910,11 +1910,9 @@ Host::MakeDirectory (const char* path, uint32_t file_permissions)
Error error;
if (path && path[0])
{
- printf("mkdir('%s', %o) ", path, file_permissions);
if (::mkdir(path, file_permissions) != 0)
{
error.SetErrorToErrno();
- printf(" %i (%s)\n", error.GetError(), error.AsCString());
switch (error.GetError())
{
case ENOENT:
@@ -1928,17 +1926,10 @@ Host::MakeDirectory (const char* path, uint32_t file_permissions)
if (error2.Success())
{
// Try and make the directory again now that the parent directory was made successfully
- printf("mkdir('%s', %o) ", path, file_permissions);
if (::mkdir(path, file_permissions) == 0)
- {
- puts("success");
error.Clear();
- }
else
- {
error.SetErrorToErrno();
- printf(" %i (%s)\n", error.GetError(), error.AsCString());
- }
}
}
}
@@ -1952,10 +1943,6 @@ Host::MakeDirectory (const char* path, uint32_t file_permissions)
break;
}
}
- else
- {
- puts("success");
- }
}
else
{
OpenPOWER on IntegriCloud