Page 1 of 1

Re: [Nagios-devel] 2.0b1 on Solaris

Posted: Fri Jan 14, 2005 7:08 am
by Guest
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: [email protected]
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]