From d25d392c9f45b3588e92fa345dc2805035fe2373 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 5 Jun 2008 13:09:20 +0100 Subject: [PATCH] removed call to putenv since incorrect --- src/OSspecific/Unix/Unix.C | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/OSspecific/Unix/Unix.C b/src/OSspecific/Unix/Unix.C index 830f48e71a..e50444a236 100644 --- a/src/OSspecific/Unix/Unix.C +++ b/src/OSspecific/Unix/Unix.C @@ -103,11 +103,7 @@ bool Foam::setEnv const bool overwrite ) { -# ifdef linux return setenv(envName.c_str(), value.c_str(), overwrite) == 0; -# else - return putenv((char*)(envName + '=' + value.c_str()).c_str()) == 0; -# endif }