[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Bug#3008: dcopserver does not compile under Solaris (fwd)
From:       Stephan Kulow <coolo () kde ! org>
Date:       2000-04-12 21:18:37
[Download RAW message or body]

Waldo Bastian wrote:
> 
> On Wed, 12 Apr 2000, Stephan Kulow wrote:
> > David Faure wrote:
> > > On Wed, Apr 12, 2000 at 01:29:39PM +0200, Matthias Ettrich wrote:
> > > > > Don't worry, kdecore ships unsetenv when the system doesn't.
> > > >
> > > > The problem is that dcopserver doesn't use kde libararies at all, and
> > > > neither should it.
> > >
> > > Ooohh.
> > > Then it has to use (huh, copy) the setenv and unsetenv fakes (which are
> > > defined only when the function doesn't exist on the system).
> > > See kdecore/fakes.cpp.
> >
> > Hihi - then all your configure test splitting was for no good? :)
> > I already wondered but didn't had an explanation - if it's just the
> > unsetenv, a putenv("DCOP_SERVER="); does the trick.
> 
> Hm. almost.
> 
> putenv("SESSION_MANAGER=") clears the env variable but it doesn't undefine it.
> So getenv("SESSION_MANAGER") still returns a non-null pointer. Now dcopserver
> gives a Qt generated "Session management error".
> 
Hmm, sure? this is exactly what the fake does

Greetings, Stephan

-- 
It said Windows 95 or better, so in theory Linux should run it
                                                GeorgeH on /.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic