2.0b1 on Solaris
Ethan Galstad
nagios at nagios.org
Fri Jan 14 16:09:49 CET 2005
Mark Anderson submitted (un)setenv replacement code recently, but I
think it would be better to use the native (un)setenv() calls when
available and back off to putenv() when needed. I'll make a CVS
commit shortly with this. The putenv() call will leak memory, but
only in child processes, and that should get cleaned up by the OS
when they exit.
On 13 Jan 2005 at 11:07, local.coder wrote:
> Ethan,
>
> Been a while but I was upgrading a system and ran into an issue on
> 2.0b1 on Solaris. Basically Solaris does not have setenv and unsetenv
> it has putenv but the arguments are different. This is only called
> once in utils.c so I wanted to find out from you how critical these
> are as to whether putenv can be tweaked for use or if the two calls
> can be ifdef'd to not be used on solaris.
>
> Thanks,
> Derrick
Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
More information about the Developers
mailing list