Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2009, Roxen IS.   //   // The Roxen WebServer main program.   //   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.1087 2011/08/31 11:23:35 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1088 2011/09/12 10:54:41 grubba Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:7234:    ({ "%y", "%m", "%d", "%h", "%H" }),    ({ "[0-9][0-9][0-9][0-9]", "[0-9][0-9]",    "[0-9][0-9]", "[0-9][0-9]", "(.+)" }))+"$")->    match(filename_candidate))    {    string compress_file = combine_path(dir, filename_candidate);    Stdio.Stat stat = file_stat(compress_file);    if(!stat || time(1) < stat->mtime + 1200)    continue; // Wait at least 20 minutes before compressing log file...    werror("Compressing log file %O\n", compress_file); -  compressor_process = Process.create_process(({ compressor_program, +  compressor_process = Process.Process(({ compressor_program,    compress_file }));    return;    }    }    }       private void do_open_co() { handle(do_open); }    private void do_open(void|object mutex_key)    {    if (!this_object()) return; // We've been destructed, return