Minor change in ls-path.

This commit is contained in:
interp 2001-09-10 12:26:40 +00:00
parent 3c200d4db9
commit 66907428e0
1 changed files with 3 additions and 1 deletions

4
ls.scm
View File

@ -61,7 +61,9 @@
(file-directory? path #f))) ;; or not
(ls-directory path all? recursive? long? directory? flag? columns? port))
(else
(ls-file (cons path (file-info path #f)) long? flag? port))))
(if (or long? flag?) ;; see LS-DIRECTORY for details
(ls-file (cons path (file-info path #f)) long? flag? port)
(ls-file (cons path #f) long? flag? port)))))
(define (ls-directory directory all? recursive? long? directory? flag? columns? port)
; terminology: a FILE-NAME is the name of a file