Diff of /pe_profiling/operf.cpp [771596] .. [ad3e04]  Maximize  Restore

Switch to side-by-side view

--- a/pe_profiling/operf.cpp
+++ b/pe_profiling/operf.cpp
@@ -739,7 +739,8 @@
 	verbose_string.clear();
 	if (operf_options::post_conversion) {
 		string cmd = "rm -f " + outputfile;
-		system(cmd.c_str());
+		if (system(cmd.c_str()) != 0)
+			cerr << "Unable to remove " << outputfile << endl;
 	}
 }
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks