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.461 2009/03/05 11:44:17 grubba Exp $ + // $Id: master.pike.in,v 1.462 2009/06/04 11:14:38 per Exp $      #pike __REAL_VERSION__   //#pragma strict_types      //! @appears predef::MasterObject   //!   //! Master control program for Pike.   //!   //! @seealso   //! @[predef::master()], @[predef::replace_master()]      // --- Some configurable parameters      #define PIKE_AUTORELOAD   #define GETCWD_CACHE - #define FILE_STAT_CACHE + //#define FILE_STAT_CACHE      // This define is searched and replaced by bin/install.pike.   #undef PIKE_MODULE_RELOC      #ifndef PIKE_WARNINGS   #define PIKE_WARNINGS 1   #endif /* PIKE_WARNINGS */         // --- Global constants and variables
pike.git/lib/master.pike.in:1143:       multiset(string) d = dir_cache[dir];    if( zero_type(d) )    {    array(string) tmp = master_get_dir(dir);    if(tmp)    {   #ifdef __NT__    tmp = map(tmp, lower_case);   #endif -  d = dir_cache[dir] = aggregate_multiset(@tmp); +  d = dir_cache[dir] = (multiset)tmp;    }    else    dir_cache[dir]=0;    }      #ifdef __NT__    file = lower_case(file);   #endif    if(d && !d[file]) return 0;       return predef::file_stat(x);   }   #else   #define master_file_stat file_stat -  + #define master_get_dir get_dir   #endif // FILE_STAT_CACHE         protected mapping(string:string) environment;      #ifdef __NT__   protected void set_lc_env (mapping(string:string) env)   {    environment = ([]);    foreach (env; string var; string val)