]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Issue 20371: remove the creation of netgen.prof : additional patch
authorvsr <vsr@opencascade.com>
Wed, 26 Aug 2009 07:01:22 +0000 (07:01 +0000)
committervsr <vsr@opencascade.com>
Wed, 26 Aug 2009 07:01:22 +0000 (07:01 +0000)
config_files/patches/netgen-4.5-for-SALOME.patch

index 51a95c33d8806eebc1a88b916c4bf9b96f7a1365..a47e944cb3c68d40be97f962699a8bb2299287c6 100755 (executable)
@@ -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);
 +    }
    }