diff options
Diffstat (limited to 'libbuild2/utility.cxx')
-rw-r--r-- | libbuild2/utility.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libbuild2/utility.cxx b/libbuild2/utility.cxx index 528b435..8e38213 100644 --- a/libbuild2/utility.cxx +++ b/libbuild2/utility.cxx @@ -39,9 +39,10 @@ namespace std { using namespace build2; - return os << (stream_verb (os).path < 1 - ? diag_relative (p) - : p.representation ()); + if (stream_verb (os).path < 1) + return os << diag_relative (p); + else + return to_stream (os, p, true /* representation */); } ostream& |