Boost logo

Boost :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-04-25 23:56:09

This test is failing on numerous platforms, some for the fact that
"putenv" takes a non-const char* (Linux, Solaris, perhaps others).

Attached is a patch for environment.ipp which changes it to use the
setenv function on non-Windows systems. I believe this is a POSIX
standard function (via BSD).

I think this cleans up the code a bit, removing the raising of
getenv/putenv into namespace std, when they are I think clearly
non-std functions.

Caleb Epstein
caleb dot epstein at gmail dot com

Boost list run by bdawes at, gregod at, cpdaniel at, john at