Update of /cvsroot/compbench/CompBenchmarks++/System
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17008
Modified Files:
System-Unix.cpp
Log Message:
copy() don't report errors if UO_verbose is 0.
Index: System-Unix.cpp
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/System/System-Unix.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** System-Unix.cpp 11 Dec 2006 18:09:59 -0000 1.6
--- System-Unix.cpp 28 Dec 2006 13:15:07 -0000 1.7
***************
*** 1,3 ****
--- 1,4 ----
#include <System/System-Unix.h>
+ #include <libcompbenchmarks.h>
#include <UI/UI.h>
***************
*** 35,38 ****
--- 36,43 ----
cmd+=to;
+ if (! UO_verbose) {
+ cmd+=" 2> /dev/null";
+ }
+
return(exec(cmd, sstdout));
}
|