Terminate directory output by CRLF.
This commit is contained in:
parent
8c04b1b95e
commit
40e026a889
7
ftpd.scm
7
ftpd.scm
|
@ -847,13 +847,16 @@
|
||||||
(file-name-directory full-path)
|
(file-name-directory full-path)
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(let ((nondir (file-name-nondirectory full-path)))
|
(let ((nondir (file-name-nondirectory full-path)))
|
||||||
|
(let-fluid
|
||||||
|
ls-crlf? #t
|
||||||
|
(lambda ()
|
||||||
(ls flags
|
(ls flags
|
||||||
(list
|
(list
|
||||||
;; work around OLIN BUG
|
;; work around OLIN BUG
|
||||||
(if (string=? nondir "")
|
(if (string=? nondir "")
|
||||||
"."
|
"."
|
||||||
nondir))
|
nondir))
|
||||||
(socket:outport (session-data-socket))))))))))
|
(socket:outport (session-data-socket))))))))))))
|
||||||
|
|
||||||
(define (handle-abor foo)
|
(define (handle-abor foo)
|
||||||
(log-command (syslog-level info) "ABOR")
|
(log-command (syslog-level info) "ABOR")
|
||||||
|
@ -1126,7 +1129,7 @@
|
||||||
|
|
||||||
; Version
|
; Version
|
||||||
|
|
||||||
(define *ftpd-version* "$Revision: 1.29 $")
|
(define *ftpd-version* "$Revision: 1.30 $")
|
||||||
|
|
||||||
(define (copy-port->port-binary input-port output-port)
|
(define (copy-port->port-binary input-port output-port)
|
||||||
(let ((buffer (make-string *window-size*)))
|
(let ((buffer (make-string *window-size*)))
|
||||||
|
|
Loading…
Reference in New Issue