pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1:   // -*- Pike -*-   //   // Master Control Program for Pike.   //   // This file is part of Pike. For copyright information see COPYRIGHT.   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.440 2008/06/07 10:52:03 grubba Exp $ + // $Id: master.pike.in,v 1.441 2008/06/07 16:16:39 grubba Exp $      #pike __REAL_VERSION__   //#pragma strict_types      // Some programs destroys character pairs beginning with the currency   // symbol when running in chinese locale.   #if "ยค/" != "\244/"   #error "master.pike.in is corrupted."   #endif   
pike.git/lib/master.pike.in:237:    compat_environment_copy[pair[0]] = pair;    }   #endif    return compat_environment = copy_value(compat_environment_copy);    }       local void `environment=(__deprecated__(mapping(string:array(string)))    new_env)    {    compat_environment = new_env; -  if (!new_env) compat_environment_copy = 0; +  if (!new_env) +  compat_environment_copy = 0; +  else if (!compat_environment_copy) +  compat_environment_copy = ([]);    }   #pragma deprecation_warnings       void add_include_path(string tmp);    void remove_include_path(string tmp);    void add_module_path(string tmp);    void remove_module_path(string tmp);    void add_program_path(string tmp);    void remove_program_path(string tmp);    mapping(string:program|NoValue) programs;