;;; -*- Mode:Lisp; Readtable:ZL; Package:USER; Base:10; Patch-File:T -*- ;;; Patch file for System version 123.37 ;;; Reason: ;;; ftp:*history* DOES have to be an instance variable of a ftp-host-unit. ;;; Clear it when you close the control connection. ;;; Written 7-Oct-87 15:18:14 by pld at site LMI Cambridge ;;; while running on Jack Flanders from band 2 ;;; with Experimental System 123.28, Experimental Local-File 73.0, Experimental FILE-Server 22.0, Experimental Unix-Interface 11.0, Experimental Tape 18.0, Experimental KERMIT 34.0, Experimental ZMail 71.0, Experimental Lambda-Diag 15.0, microcode 1754, SDU Boot Tape 3.12, SDU ROM 8. ; From modified file DJ: L.NETWORK.IP-TCP.USER; FTP-ACCESS.LISP#11 at 7-Oct-87 15:18:15 #10R FILE-SYSTEM#: (COMPILER-LET ((*PACKAGE* (PKG-FIND-PACKAGE "FILE-SYSTEM"))) (COMPILER::PATCH-SOURCE-FILE "SYS: NETWORK; IP-TCP; USER; FTP-ACCESS  " (defflavor ftp-host-unit ((ftp:*auto-login* nil) (ftp:*trace* *ftp-host-unit-debug*) (ftp:*hash* *ftp-host-unit-debug*) (ftp:*sendport* t) (ftp:*verbose* *ftp-host-unit-debug*) (ftp:*debug* *ftp-host-unit-debug*) (ftp:*bell* nil) (ftp:*glob* t) (ftp:*prompt* nil) ftp:(*type* 'ascii) ftp:(*struct* 'file) ftp:(*form* 'non-print) ftp:(*mode* 'stream) (ftp:*bytesize* 8.) (ftp:*user* nil) (ftp:*pass* nil) (ftp:*acct* nil) (ftp:*history* nil) (ftp:*connected* nil) (ftp:*remote-hostname* nil) (ftp:*cin* nil) (ftp:*cout* nil) (ftp:*data* nil) (reserve-lock (LIST NIL)) (file-stream nil)) (basic-host-unit) :special-instance-variables) )) ; From modified file DJ: L.NETWORK.IP-TCP.USER; FTP-ACCESS.LISP#11 at 7-Oct-87 15:19:24 #10R FILE-SYSTEM#: (COMPILER-LET ((*PACKAGE* (PKG-FIND-PACKAGE "FILE-SYSTEM"))) (COMPILER::PATCH-SOURCE-FILE "SYS: NETWORK; IP-TCP; USER; FTP-ACCESS  " (defmethod (ftp-host-unit :close-control-connection) () ;; Close connection, for logging out (ftp:cmd-close) (setq ftp:*history* nil)) ))