[Compbench-devel] CompBenchmarks++/Benchmark/Compiler BenchmarkContext-Compiler.cpp, 1.5, 1.6
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2006-11-01 10:34:14
|
Update of /cvsroot/compbench/CompBenchmarks++/Benchmark/Compiler In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv19648 Modified Files: BenchmarkContext-Compiler.cpp Log Message: Chomp() used : strings from system() call are now given without any trailling \n or \r. Index: BenchmarkContext-Compiler.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/Benchmark/Compiler/BenchmarkContext-Compiler.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** BenchmarkContext-Compiler.cpp 26 Sep 2006 16:03:27 -0000 1.5 --- BenchmarkContext-Compiler.cpp 1 Nov 2006 10:34:10 -0000 1.6 *************** *** 27,30 **** --- 27,31 ---- cacheCompilerName=getCompilerName(); + system->Chomp(cacheCompilerName); return(cacheCompilerName); } *************** *** 36,39 **** --- 37,41 ---- cacheCompilerVersion=getCompilerVersion(); + system->Chomp(cacheCompilerVersion); return(cacheCompilerVersion); } *************** *** 47,52 **** { std::cout << "compiler::id=" << compiler() << std::endl ! << "compiler::name=" << compilerName() ! << "compiler::version=" << compilerVersion() << "compiler::language=" << language() << std::endl << "compiler::binary=" << Binary() << std::endl; --- 49,54 ---- { std::cout << "compiler::id=" << compiler() << std::endl ! << "compiler::name=" << compilerName() << std::endl ! << "compiler::version=" << compilerVersion() << std::endl << "compiler::language=" << language() << std::endl << "compiler::binary=" << Binary() << std::endl; |