Roxen.git
/
server
/
etc
/
roxen_master.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/roxen_master.pike:3:
mixed sql_query( string q, mixed ... e ) { return connect_to_my_mysql( 0, "local" )->query( q, @e ); } /* * Roxen's customized master. */
-
constant cvs_version = "
$Id: roxen_master.pike,v 1.155 2010/01/13 14:35:14 jonasw Exp $
";
+
constant cvs_version = "
$Id$
";
// Disable the precompiled file is out of date warning. constant out_of_date_warning = 0; #if !constant(PIKE_MODULE_RELOC) #define relocate_module(x) (x) #define unrelocate_module(x) (x) #endif protected string _sprintf (int flag)
Roxen.git/server/etc/roxen_master.pike:722:
Inside #if 0
#if 0 // No idea what this is supposed to accomplish, but the effect is // that the ErrorContainer can be stored as handler in dirnodes and // receive error messages long after the function that installed it // have checked for error messages and forgotten about it. /mast if( !handler ) handler = get_inhibit_compile_errors(); #endif if( (s=master_file_stat( relocate_module(fname) )) && s[1]>=0 ) {
+
object compiler_lock = DefaultCompilerEnvironment->lock();
+
if( load_time[ fname ] >= s[ 3 ] ) if( !zero_type (ret = programs[fname]) ) return ret; switch(ext) { case "": case ".pike": // First check in mysql.