On Fri, 7 Feb 2003, Caskey Dickson wrote:
>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.

I've already fixed this by using putenv(), which is posix, BSD 4.3 and and
SVID 3. It'll be out in the next release.

Sorry that I haven't put up the "known bugs/fixed" list yet. I'll make a
list as soon as I find time.

Andy

-- 
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP    | Nil desperandum

Reply via email to