summaryrefslogtreecommitdiff
path: root/src/path-test.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2013-02-08 19:11:58 +0000
committerjhurst <>2013-02-08 19:11:58 +0000
commit9998b893b47f111f41c4f0fcf1067efe5b7a62f3 (patch)
treeef455067287c17ebb9f82ecf3d27d134823c1edb /src/path-test.cpp
parentb3fa00a9f37ecc7c2bef6276aae0ea67d1ddbeb3 (diff)
big change rollup
Diffstat (limited to 'src/path-test.cpp')
-rw-r--r--src/path-test.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/path-test.cpp b/src/path-test.cpp
index ce81b8f..30a5e09 100644
--- a/src/path-test.cpp
+++ b/src/path-test.cpp
@@ -111,8 +111,15 @@ main(int argc, const char** argv)
FindInPaths(PathMatchAny(), InList, OutList);
PathList_t::iterator pi;
- for ( pi = OutList.begin(); pi != OutList.end(); pi++ )
- cerr << *pi << endl;
+ if ( false )
+ {
+ for ( pi = OutList.begin(); pi != OutList.end(); pi++ )
+ cerr << *pi << endl;
+ }
+ else
+ {
+ cerr << OutList.size() << ( ( OutList.size() == 1 ) ? " file" : " files" ) << endl;
+ }
cerr << "----------------------------------" << endl;
OutList.clear();