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". Cheers, Waldo