Roxen.git / server / modules / filesystems / filesystem.pike

version» Context lines:

Roxen.git/server/modules/filesystems/filesystem.pike:1:   // This is a roxen module. Copyright © 1996 - 2004, Roxen IS.      // This is a virtual "file-system".   // It will be located somewhere in the name-space of the server.   // Also inherited by some of the other filesystems.      inherit "module";   inherit "socket";    - constant cvs_version= "$Id: filesystem.pike,v 1.155 2006/12/14 13:32:27 grubba Exp $"; + constant cvs_version= "$Id: filesystem.pike,v 1.156 2007/05/09 16:35:34 grubba Exp $";   constant thread_safe=1;      #include <module.h>   #include <roxen.h>   #include <stat.h>   #include <request_trace.h>         //<locale-token project="mod_filesystem">LOCALE</locale-token>   #define LOCALE(X,Y) _DEF_LOCALE("mod_filesystem",X,Y)
Roxen.git/server/modules/filesystems/filesystem.pike:751:    int err_code = errno();       TRACE_ENTER(sprintf("%s: Accepted", id->method), 0);       if (code) {    string msg = safe_chmod(norm_f, 0777 & ~(id->misc->umask || 022));    privs = 0;    if (msg) {    TRACE_LEAVE(sprintf("%s: chmod %O failed: %s", id->method, norm_f, msg));    } else { -  TRACE_LEAVE(sprintf("%s: chmod ok", id->method, msg)); +  TRACE_LEAVE(sprintf("%s: chmod ok", id->method));    }    TRACE_LEAVE(sprintf("%s: Success", id->method));    return Roxen.http_status(201, "Created");    }    privs = 0;       TRACE_LEAVE(sprintf("%s: Failed", id->method));    return errno_to_status (err_code, 1, id);   }