Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:108:       else if( !fname ) {    fname = master()->program_name( o );    if (!fname)    return ({0, 0});    }       string cwd = getcwd() + "/";    if (has_prefix (fname, cwd))    fname = fname[sizeof (cwd)..]; -  else if (has_prefix (fname, roxenloader.server_dir)) -  fname = fname[sizeof (roxenloader.server_dir)..]; +  else if (has_prefix (fname, roxenloader.server_dir + "/")) +  fname = fname[sizeof (roxenloader.server_dir + "/")..];       return ({fname, line});   }      string filename( program|object o )   {    [string fname, int line] = filename_2 (o);    return fname || "(unknown program)";   }