* fixed bug in library-name->file-name which did not handle capital
letters properly.
This commit is contained in:
parent
29c43af1f4
commit
daadee442c
BIN
src/ikarus.boot
BIN
src/ikarus.boot
Binary file not shown.
|
@ -74,7 +74,7 @@
|
|||
(lambda (c)
|
||||
(cond
|
||||
[(or (char<=? #\a c #\z)
|
||||
(char<=? #\A c #\A)
|
||||
(char<=? #\A c #\Z)
|
||||
(char<=? #\0 c #\9)
|
||||
(memv c '(#\- #\. #\_ #\~)))
|
||||
(display c)]
|
||||
|
@ -92,7 +92,8 @@
|
|||
(let ([str (library-name->file-name x)])
|
||||
(let f ([ls (library-path)])
|
||||
(and (pair? ls)
|
||||
(let ([name (string-append (car ls) "/" str)])
|
||||
(let ([name (string-append (car ls) str)])
|
||||
(printf "trying ~s\n" name)
|
||||
(if (file-exists? name)
|
||||
name
|
||||
(f (cdr ls))))))))
|
||||
|
|
Loading…
Reference in New Issue