[Compbench-devel] CompBenchmarks++/libcompbenchmarks/System System-Unix.cpp, 1.4, 1.5
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-06-06 15:59:35
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/System In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv10783 Modified Files: System-Unix.cpp Log Message: XML based message reporting. Index: System-Unix.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/System/System-Unix.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** System-Unix.cpp 19 Apr 2007 20:54:14 -0000 1.4 --- System-Unix.cpp 6 Jun 2007 15:59:31 -0000 1.5 *************** *** 60,65 **** result=""; lastCommand=command; if ( !(fpipe = (FILE*)popen(command.c_str(),"r")) ) { ! cbmUI->Fatal("Can't create pipe."); } --- 60,66 ---- result=""; lastCommand=command; + cbmUI->msgShell(command); if ( !(fpipe = (FILE*)popen(command.c_str(),"r")) ) { ! cbmUI->msgFatal("Can't create pipe."); } *************** *** 67,70 **** --- 68,72 ---- result+=line; } + cbmUI->outputOK(result); lastCommandOutput=result; return(pclose(fpipe)); |