pike.git / lib / master.pike.in

version» Context lines:

pike.git/lib/master.pike.in:1: - /* $Id: master.pike.in,v 1.45 1999/04/08 22:18:21 hubbe Exp $ + /* $Id: master.pike.in,v 1.46 1999/04/09 04:46:16 hubbe Exp $    *    * Master-file for Pike.    *    * Based on master.pike 1.67.    */      // Some configurable parameters useful for debugging      // Used by describe_backtrace() et al.   #if !defined(BT_MAX_STRING_LEN) || (BT_MAX_STRING_LEN <= 0)
pike.git/lib/master.pike.in:701:   {    string *argv=copy_value(orig_argv);    int i,debug,trace;    object script;    object tmp;    string a,b;    mixed *q;       _pike_file_name = orig_argv[0];    -  foreach(env,a) if(sscanf(a,"%s=%s",a,b)) environment[a]=b; +  foreach(env,a) +  { +  if(sscanf(a,"%s=%s",a,b)) +  { +  if(a=="") // Special hack for NT +  { +  sscanf(b,"%s=%s",a,b); +  a="="+a; +  } +  environment[a]=b; +  } +  }    -  +    #if "¤share_prefix¤"[0]!='¤'    // add path for architecture-dependant files    add_include_path("¤share_prefix¤/include");    add_module_path("¤share_prefix¤/modules");   #endif      #if "¤lib_prefix¤"[0]!='¤'    // add path for architecture-dependant files    add_include_path("¤lib_prefix¤/include");    add_module_path("¤lib_prefix¤/modules");