removed call to putenv since incorrect

This commit is contained in:
mattijs
2008-06-05 13:09:20 +01:00
parent a13820c394
commit d25d392c9f

View File

@ -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
}