From 3c57a25a4d6a80301ece82ab33f1394e34f8b873 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 23 Jul 2015 09:59:52 +0200 Subject: Basic test support --- build/cxx/compile.cxx | 2 +- build/cxx/link.cxx | 2 +- build/cxx/module.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'build/cxx') diff --git a/build/cxx/compile.cxx b/build/cxx/compile.cxx index d0e6526..a12650f 100644 --- a/build/cxx/compile.cxx +++ b/build/cxx/compile.cxx @@ -459,7 +459,7 @@ namespace build try { - process pr (args.data (), false, false, true); + process pr (args.data (), 0, -1); // Open pipe to stdout. ifdstream is (pr.in_ofd); size_t skip (skip_count); diff --git a/build/cxx/link.cxx b/build/cxx/link.cxx index b35a596..145a085 100644 --- a/build/cxx/link.cxx +++ b/build/cxx/link.cxx @@ -127,7 +127,7 @@ namespace build string l; try { - process pr (args.data (), false, false, true); + process pr (args.data (), 0, -1); // Open pipe to stdout. ifdstream is (pr.in_ofd); while (!is.eof ()) diff --git a/build/cxx/module.cxx b/build/cxx/module.cxx index 3975ac5..882d4b0 100644 --- a/build/cxx/module.cxx +++ b/build/cxx/module.cxx @@ -110,7 +110,7 @@ namespace build string ver; try { - process pr (args, false, false, true); + process pr (args, 0, -1); // Open pipe to stdout. ifdstream is (pr.in_ofd); bool r (getline (is, ver)); -- cgit v1.1