On Fri, Feb 07, 2003 at 04:35:10AM -0000, Darren Honeyball wrote:
> Anyone got this software to compile on Solaris 9?
> 
> I'm getting errors about "setenv" (shown below)

> authenticate.cc:69: `setenv' undeclared (first use this function)

setenv(3) is a BSD UNIX family method, the posix/SysV equivalent (I believe) is the 
SysV putenv(3) and so it will have to be used on solaris. However, it isn't as nice to 
use as setenv.  

They are, for all intents and purposes equivalent.  If Andreas doesn't have time to do 
this, I can quickly find or put together a patch that will get past this on solaris 
and other SysV systems.  It'll also help portability to other non-BSD unicies.  
Soonest I can do this will be tomorrow though.

C=)

-- 
--------------------------------------------------------------------------
     Better the hard truth than the comforting fantasy. -- Carl Sagan
--------------------------------------------------------------------------
Caskey <caskey*technocage.com>       ///                   TechnoCage Inc.
--------------------------------------------------------------------------
 A presumption on your part does not constitute an obligation on my part.

Reply via email to