Re: Solaris compile problem in control-center-1.0.6




On Fri, 3 Sep 1999, Jason Tackaberry wrote:
> Line 453 of capplets/screensaver-properties/callbacks.c calls a function
> setenv, which is declared in stdlib.h on Linux, but I can't find it anywhere on
> my Solaris 2.6 system.  Is this a portability problem, or am I doing something
> wrong?
> 

Change it to putenv(), according to the man pages setenv() is BSD only and
putenv() is POSIXly correct.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]