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)
|
||||
(lambda ()
|
||||
(let ((nondir (file-name-nondirectory full-path)))
|
||||
(let-fluid
|
||||
ls-crlf? #t
|
||||
(lambda ()
|
||||
(ls flags
|
||||
(list
|
||||
;; work around OLIN BUG
|
||||
(if (string=? nondir "")
|
||||
"."
|
||||
nondir))
|
||||
(socket:outport (session-data-socket))))))))))
|
||||
(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*)))
|
||||
|
|
Loading…
Reference in New Issue