Branch: Tag:

2004-07-14

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

Now copies the environment mapping from the previous master if available.

Rev: lib/master.pike.in:1.359

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