From bbc87d7d08244f85343d86fb8a126185c566fe95 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 7 Nov 2019 11:18:28 +0200 Subject: Cosmetic changes --- bdep/new.cxx | 4 ++-- bdep/publish.cxx | 2 +- bdep/sync.cxx | 2 +- bdep/utility.txx | 5 +++-- 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 (std::cin, "stdin", what, iu); + return parse_manifest (std::cin, "", 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; } } -- cgit v1.1