putenv is not "const char*" on unix. What should we do? Casting it to non-const is probably bad in this case because the user needs to keep it alive. Howard