From 4eb03e685b3fca503ec4114c320bd8af93be1a02 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 26 Aug 2009 07:03:16 +0000 Subject: [PATCH] Issue 20371: remove the creation of netgen.prof : additional patch --- src/NETGEN/netgen45ForSalome.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NETGEN/netgen45ForSalome.patch b/src/NETGEN/netgen45ForSalome.patch index 51a95c3..a47e944 100644 --- a/src/NETGEN/netgen45ForSalome.patch +++ b/src/NETGEN/netgen45ForSalome.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); + } } -- 2.39.2