From e992a71800cd41bbf2c7d3301dd00691f1c04327 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sun, 1 Jul 2007 16:36:20 +0000 Subject: Ok, the c++filt test is now in there, I think it's already useful, we'll have to see what happens. If this works out the filters will become a fixture either later in M2 or early in M3 --- build.conf | 2 +- src/viewerpercent.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.conf b/build.conf index b31d1d3..f6c9359 100644 --- a/build.conf +++ b/build.conf @@ -16,7 +16,7 @@ set "CXXFLAGS" += "-ggdb" "c++filt": rule "exe", target file, - input filesIn("c++filt") filter regexp(".*\\.(cpp|y|l)$") + input filesIn("src/c++filt") filter regexp(".*\\.(cpp|y|l)$") rule "exe": matches regexp("(.*)\\.o$"), diff --git a/src/viewerpercent.cpp b/src/viewerpercent.cpp index 31ce52a..aa7b3c8 100644 --- a/src/viewerpercent.cpp +++ b/src/viewerpercent.cpp @@ -42,6 +42,7 @@ void ViewerPercent::beginCommand( Action::eAction nAct, const std::string &sTarg void ViewerPercent::endCommand() { printf("\n"); + fflush(stdout); } void ViewerPercent::beginPerforms( int nCount ) -- cgit v1.2.3