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 - 2001, 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.118 2002/06/13 22:33:05 nilsson Exp $"; + constant cvs_version = "$Id: filesystem.pike,v 1.119 2002/06/14 00:06:47 nilsson Exp $";   constant thread_safe = 1;      #include <module.h>   #include <stat.h>   #include <request_trace.h>   #include <roxen.h>      //<locale-token project="mod_filesystem">LOCALE</locale-token>   #define LOCALE(X,Y) _STR_LOCALE("mod_filesystem",X,Y)   // end of the locale related stuff
Roxen.git/server/modules/filesystems/filesystem.pike:1092:    return 0;    }    privs = 0;    deletes++;       if (id->misc->quota_obj && (size > 0)) {    id->misc->quota_obj->deallocate(oldf, size);    }       TRACE_LEAVE("DELETE: Success"); -  return http_low_answer(200, sprintf( LOCALE("%s DELETED from the server."), f)); +  return http_low_answer(200, sprintf( LOCALE(77, "%s DELETED from the server."), f));       default:    TRACE_LEAVE("Not supported");    return 0;    }    TRACE_LEAVE("Not reached");    return 0;   }      string query_name()   {    if (sizeof(path) > 20) -  return mountpoint + " from " + path[..7]...path[sizeof(path)-8..]; +  return mountpoint + " from " + path[..7] + "..." + path[sizeof(path)-8..];    return mountpoint + " from " + path;   }