Terminate directory output by CRLF.

This commit is contained in:
sperber 2002-02-20 13:40:27 +00:00
parent 8c04b1b95e
commit 40e026a889
1 changed files with 11 additions and 8 deletions

View File

@ -847,13 +847,16 @@
(file-name-directory full-path)
(lambda ()
(let ((nondir (file-name-nondirectory full-path)))
(ls flags
(list
;; work around OLIN BUG
(if (string=? nondir "")
"."
nondir))
(socket:outport (session-data-socket))))))))))
(let-fluid
ls-crlf? #t
(lambda ()
(ls flags
(list
;; work around OLIN BUG
(if (string=? nondir "")
"."
nondir))
(socket:outport (session-data-socket))))))))))))
(define (handle-abor foo)
(log-command (syslog-level info) "ABOR")
@ -1126,7 +1129,7 @@
; Version
(define *ftpd-version* "$Revision: 1.29 $")
(define *ftpd-version* "$Revision: 1.30 $")
(define (copy-port->port-binary input-port output-port)
(let ((buffer (make-string *window-size*)))