From 530e8914ba00ce0e7ee89ba30d2b88f2c09f43c9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 16 Dec 2017 14:14:15 +0200 Subject: Split stream verbosity into components (path, extension) Use to make sure structured result output always contains absolute target path. --- build2/utility.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/utility.cxx') diff --git a/build2/utility.cxx b/build2/utility.cxx index d11b46d..df19b92 100644 --- a/build2/utility.cxx +++ b/build2/utility.cxx @@ -38,7 +38,7 @@ namespace std { using namespace build2; - return os << (stream_verb (os) < 2 + return os << (stream_verb (os).path < 1 ? diag_relative (p) : p.representation ()); } -- cgit v1.1