pike.git/
lib/
master.pike.in
Branch:
Tag:
Non-build tags
All tags
No tags
2009-06-10
2009-06-10 16:11:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>
0217a6c4196883c94e16fbcfdee7b7e4b9fee3e5 (
11
lines) (+
5
/-
6
)
[
Show
|
Annotate
]
Branch:
7.9
There's code that expects master()->master_file_stat() to exist...
Rev: lib/master.pike.in:1.463
6:
// Pike is distributed under GPL, LGPL and MPL. See the file COPYING // for more information. //
-
// $Id: master.pike.in,v 1.
462
2009/06/
04
11:
14:38
per
Exp $
+
// $Id: master.pike.in,v 1.
463
2009/06/
10
16:
11:
15
grubba
Exp $
#pike __REAL_VERSION__ //#pragma strict_types
174:
#ifdef FILE_STAT_CACHE extern int invalidate_time; extern mapping(string:multiset(string)) dir_cache;
+
#endif
local array(mixed) master_file_stat(string x) { Stat st = global::master_file_stat(x); return st && (array)st; }
-
#endif
+
//! @decl mapping(string:array(string)) environment //!
670:
#endif extern int compat_major; extern int compat_minor;
-
#ifdef FILE_STAT_CACHE
+
Stat master_file_stat(string x);
-
#endif
+
object low_cast_to_object(string oname, string current_file, object|void current_handler); object findmodule(string fullname, object|void handler);
1164:
return predef::file_stat(x); } #else
-
#define
master_file_stat file_stat
-
#define
master_get_dir
get_dir
+
constant
master_file_stat
= predef::
file_stat
;
+
constant
master_get_dir
=
predef::
get_dir
;
#endif // FILE_STAT_CACHE