scsh-users
[Top] [All Lists]

scsh 0.5.1: file-match fails if pattern contains /

To: scsh-bugs@martigny.ai.mit.edu
Subject: scsh 0.5.1: file-match fails if pattern contains /
From: Gary Houston <ghouston@actrix.gen.nz>
Date: 28 Aug 1997 07:38:10 -0000
--- filemtch.scm~       Sat Oct 21 12:07:14 1995
+++ filemtch.scm        Thu Aug 28 07:13:23 1997
@@ -88,6 +88,6 @@
       (let lp ((i (string-length pat))
               (ans '()))
        (cond ((rindex pat #\/ i) =>
-              (lambda (j) (lp (cons (substring pat (+ j 1) i) ans) j)))
+              (lambda (j) (lp j (cons (substring pat (+ j 1) i) ans))))
              (else
               (cons (substring pat 0 i) ans))))))

<Prev in Thread] Current Thread [Next in Thread>
  • scsh 0.5.1: file-match fails if pattern contains /, Gary Houston <=