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 - 1998, Idonex AB.      // 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 "roxenlib";   inherit "socket";    - constant cvs_version= "$Id: filesystem.pike,v 1.39 1998/05/15 10:26:36 grubba Exp $"; + constant cvs_version= "$Id: filesystem.pike,v 1.40 1998/05/20 07:43:03 neotron Exp $";   constant thread_safe=1;         #include <module.h>   #include <roxen.h>   #include <stat.h>      #if DEBUG_LEVEL > 20   # ifndef FILESYSTEM_DEBUG   # define FILESYSTEM_DEBUG
Roxen.git/server/modules/filesystems/filesystem.pike:234:    return Array.filter(dir, dir_filter_function);   }         mapping putting = ([]);      void done_with_put( array(object) id )   {   // perror("Done with put.\n");    id[0]->close(); -  id[1]->write("HTTP/1.0 200 Created\r\nContent-Length: 0\r\n\r\n"); +  id[1]->write("HTTP/1.0 200 Transfer Complete.\r\nContent-Length: 0\r\n\r\n");    id[1]->close();    m_delete(putting, id[1]);    destruct(id[0]);    destruct(id[1]);   }      void got_put_data( array (object) id, string data )   {   // perror(strlen(data)+" .. ");    id[0]->write( data );