Branch: Tag:

1999-12-18

1999-12-18 14:47:00 by Martin Nilsson <mani@lysator.liu.se>

roxen_perror -> werror

Rev: server/modules/filesystems/cvsfs.pike:1.19
Rev: server/modules/filesystems/userfs.pike:1.46
Rev: server/modules/filters/htaccess.pike:1.51
Rev: server/modules/misc/ip-less_hosts.pike:1.26
Rev: server/modules/misc/mirrorserver.pike:1.16
Rev: server/modules/misc/pathinfo.pike:1.7
Rev: server/modules/scripting/fcgi.pike:1.23
Rev: server/modules/scripting/oldcgi.pike:2.2
Rev: server/modules/scripting/pikescript.pike:1.51

1:   /* -  * $Id: pathinfo.pike,v 1.6 1999/10/10 19:16:37 per Exp $ -  * +     * PATH_INFO support for Roxen.    *    * Henrik Grubbström 1998-10-01
11:      inherit "module";    - constant cvs_version = "$Id: pathinfo.pike,v 1.6 1999/10/10 19:16:37 per Exp $"; + constant cvs_version = "$Id: pathinfo.pike,v 1.7 1999/12/18 14:47:00 nilsson Exp $";   constant thread_safe = 1;      // #define PATHINFO_DEBUG
26:   mapping|int last_resort(object id)   {   #ifdef PATHINFO_DEBUG -  roxen_perror(sprintf("PATHINFO: Checking %O...\n", id->not_query)); +  werror(sprintf("PATHINFO: Checking %O...\n", id->not_query));   #endif /* PATHINFO_DEBUG */    if (id->misc->path_info) {    // Already been here...   #ifdef PATHINFO_DEBUG -  roxen_perror(sprintf("PATHINFO: Been here, done that.\n")); +  werror(sprintf("PATHINFO: Been here, done that.\n"));   #endif /* PATHINFO_DEBUG */    return 0;    }
50:    pi = "/"+add_path_info;    id->misc->path_info = pi;   #ifdef PATHINFO_DEBUG -  roxen_perror("PATHINFO: Trying: %O (%O)\n", query, pi); +  werror("PATHINFO: Trying: %O (%O)\n", query, pi);   #endif    array st = id->conf->stat_file( query, id );    if( st && (st[ ST_SIZE ] > 0))    {    id->not_query = query;   #ifdef PATHINFO_DEBUG -  roxen_perror("PATHINFO: Found: %O:%O\n", +  werror("PATHINFO: Found: %O:%O\n",    id->not_query, id->misc->path_info);   #endif    return 1;