diff --git a/module/ice-9/ftw.scm b/module/ice-9/ftw.scm index 6c9db27ee..9c9694fd7 100644 --- a/module/ice-9/ftw.scm +++ b/module/ice-9/ftw.scm @@ -562,7 +562,7 @@ of file names is sorted according to ENTRY (file-system-fold enter? leaf down up skip error #f name stat) + (and=> (file-system-fold enter? leaf down up skip error #f name lstat) (lambda (files) (sort files entry "subdir") + (directory "subdir" + (("a"))))) + (let ((name (string-append %top-builddir "/test-scandir-symlink"))) + (scandir name))))) ;;; Local Variables: ;;; eval: (put 'with-file-tree 'scheme-indent-function 2)