aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdep/new.cxx4
-rw-r--r--bdep/publish.cxx2
-rw-r--r--bdep/sync.cxx2
-rw-r--r--bdep/utility.txx5
4 files changed, 7 insertions, 6 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx
index 7b2da31..48dd493 100644
--- a/bdep/new.cxx
+++ b/bdep/new.cxx
@@ -2106,7 +2106,7 @@ namespace bdep
}
catch (const io_error& e)
{
- fail << "unable to write " << cf << ": " << e;
+ fail << "unable to write to " << cf << ": " << e;
}
// Cancel auto-removal of the files we have created.
@@ -2131,7 +2131,7 @@ namespace bdep
}
catch (const io_error& e)
{
- fail << "unable to write " << f << ": " << e;
+ fail << "unable to write to " << f << ": " << e;
}
}
diff --git a/bdep/publish.cxx b/bdep/publish.cxx
index 0e13b86..1757f0b 100644
--- a/bdep/publish.cxx
+++ b/bdep/publish.cxx
@@ -644,7 +644,7 @@ namespace bdep
}
catch (const io_error& e)
{
- fail << "unable to write " << mf << ": " << e;
+ fail << "unable to write to " << mf << ": " << e;
}
run_git (git_ver,
diff --git a/bdep/sync.cxx b/bdep/sync.cxx
index 4084572..beeec10 100644
--- a/bdep/sync.cxx
+++ b/bdep/sync.cxx
@@ -509,7 +509,7 @@ namespace bdep
}
catch (const io_error& e)
{
- fail << "unable to write " << f << ": " << e;
+ fail << "unable to write to " << f << ": " << e;
}
}
}
diff --git a/bdep/utility.txx b/bdep/utility.txx
index cf03911..81fd68c 100644
--- a/bdep/utility.txx
+++ b/bdep/utility.txx
@@ -262,7 +262,7 @@ namespace bdep
try
{
if (f.string () == "-")
- return parse_manifest<T> (std::cin, "stdin", what, iu);
+ return parse_manifest<T> (std::cin, "<stdin>", what, iu);
if (!file_exists (f))
fail << what << " manifest file " << f << " does not exist";
@@ -352,7 +352,8 @@ namespace bdep
}
catch (const io_error& e)
{
- fail << "unable to write " << what << " manifest " << name << ": " << e;
+ fail << "unable to write to " << what << " manifest " << name << ": "
+ << e;
}
}