From: vsr Date: Wed, 26 Aug 2009 07:01:22 +0000 (+0000) Subject: Issue 20371: remove the creation of netgen.prof : additional patch X-Git-Tag: V5_1_3~49 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0a83b8bc0fafdcd40c80a8d14934c4a00577d645;p=tools%2Finstall.git Issue 20371: remove the creation of netgen.prof : additional patch --- diff --git a/config_files/patches/netgen-4.5-for-SALOME.patch b/config_files/patches/netgen-4.5-for-SALOME.patch index 51a95c3..a47e944 100755 --- a/config_files/patches/netgen-4.5-for-SALOME.patch +++ b/config_files/patches/netgen-4.5-for-SALOME.patch @@ -41,7 +41,7 @@ diff -Naur netgen-4.5.old/libsrc/general/profiler.cpp netgen-4.5.new/libsrc/gene + ofstream prof ("netgen.prof"); + Print (prof); + } -+ else { ++ else if ((env = getenv("NETGEN_PROF")) && !strcmp(env, "0")) { + Print (std::cout); + } }