Branch: Tag:

2004-07-14

2004-07-14 14:04:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now copies the enviroment mapping from the old master on creation.

Rev: lib/master.pike.in:1.360

6:   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.359 2004/07/14 14:00:44 grubba Exp $ + // $Id: master.pike.in,v 1.360 2004/07/14 14:04:33 grubba Exp $      #pike __REAL_VERSION__   //#pragma strict_types
1130:    include_prefix = "¤include_prefix¤";   #endif    system_module_path=pike_module_path; -  if (master()) { +  if (master() && master() != this_object()) {    // getenv() and putenv() will get confused if we don't do this.    environment = master()->environment || environment;    }