Branch: Tag:

1999-10-05

1999-10-05 05:31:36 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

master()->resolv now handles dotted names..

Rev: lib/master.pike.in:1.57

1: - /* $Id: master.pike.in,v 1.56 1999/09/06 11:02:23 hubbe Exp $ + /* $Id: master.pike.in,v 1.57 1999/10/05 05:31:36 hubbe Exp $    *    * Master-file for Pike.    *
698:    return fc[path]=dirnode(path);   }    - mixed resolv(string identifier, string|void current_file) + mixed resolv_base(string identifier, string|void current_file)   {    array(mixed) tmp = ({});    foreach(pike_module_path, string path)
735:    return UNDEFINED;   }    + mixed resolv(string identifier, string|void current_file) + { +  array(string) tmp=identifier/"."; +  mixed ret=resolv_base(tmp[0]); +  foreach(tmp[1..],string index) ret=ret[index]; +  return ret; + } +    // These are useful if you want to start other Pike processes   // with the same options as this one was started with.   string _pike_file_name;