Branch: Tag:

2004-12-27

2004-12-27 15:49:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

master_get_dir() must comply with the get_dir() API...

Rev: lib/master.pike.in:1.370

6:   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.369 2004/12/26 11:54:03 per Exp $ + // $Id: master.pike.in,v 1.370 2004/12/27 15:49:09 grubba Exp $      #pike __REAL_VERSION__   //#pragma strict_types
120:    fmt = pad + replace (fmt[..<1], "\n", "\n" + pad) + "\n";    else    fmt = pad + replace (fmt, "\n", "\n" + pad); +  if (!werror) werror = Files()->_stderr->write;    werror (fmt);   }   
395:   mapping(string:multiset(string)) dir_cache = ([]);       - array(string) master_get_dir( string x ) + array(string) master_get_dir(string|void x)   { -  return get_dir( x ); +  return get_dir(x);   }      Stat master_file_stat(string x)
2193:    array(string) tmp=identifier/".";    mixed ret = resolv_base(tmp[0], current_file, current_handler);    foreach(tmp[1..],string index) { +  resolv_debug("indexing %O with %O...\n", +  ret, index); +  resolv_debug("indices(Gmp): %O\n", indices(ret));    if (zero_type(ret)) break;    ret = ret[index];    }