Roxen.git / server / plugins / protocols / ftp.pike

version» Context lines:

Roxen.git/server/plugins/protocols/ftp.pike:1:   // This is a roxen protocol module.   // Copyright © 1997 - 2001, Roxen IS.      /*    * FTP protocol mk 2    * -  * $Id: ftp.pike,v 2.83 2002/10/24 00:11:28 nilsson Exp $ +  * $Id: ftp.pike,v 2.84 2002/10/27 20:32:52 nilsson Exp $    *    * Henrik Grubbström <grubba@roxen.com>    */      /*    * TODO:    *    * How much is supposed to be logged?    */   
Roxen.git/server/plugins/protocols/ftp.pike:844:    break;    case LS_FLAG_l:    res = "total " + total + "\n" + res;    break;    default:    break;    }    return(res);    }    - #if constant (ADT.Stack) +     static ADT.Stack dir_stack = ADT.Stack(); - #else -  static object(Stack.stack) dir_stack = Stack.stack(); - #endif +     static int name_directories;       static string fix_path(string s)    {    return(combine_path(cwd, s));    }       static void list_next_directory()    {    if (dir_stack->ptr) {
Roxen.git/server/plugins/protocols/ftp.pike:1445:       static private constant modes = ([    "A":"ASCII",    "E":"EBCDIC",    "I":"BINARY",    "L":"LOCAL",    ]);       static private int time_touch = time();    -  static private object(ADT.Queue) to_send = ADT.Queue(); +  static private ADT.Queue to_send = ADT.Queue();       static private int end_marker = 0;       void touch_me()    {    time_touch = time();    }       static private string write_cb()    {