~ chicken-core (chicken-5) 8b1b58249ce19147dab69440b731f6a97a37e158
commit 8b1b58249ce19147dab69440b731f6a97a37e158
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Wed Jan 6 15:05:55 2010 +0100
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Wed Jan 6 15:15:20 2010 +0100
fixed bug in create-directory
diff --git a/posixwin.scm b/posixwin.scm
index da4f41e5..be8d81e4 100644
--- a/posixwin.scm
+++ b/posixwin.scm
@@ -1171,13 +1171,13 @@ EOF
(create-directory-helper name)))
(define-inline (create-directory-helper-parents name)
- (let* ((l (string-split name "/\\"))
- (c (car l)))
- (for-each
- (lambda (x)
- (set! c (string-append c "/\\" x))
- (create-directory-helper-silent c))
- (cdr l))))
+ (let* ((l (string-split name "/\\"))
+ (c (car l)))
+ (for-each
+ (lambda (x)
+ (set! c (string-append c "/" x))
+ (create-directory-helper-silent c))
+ (cdr l))))
(define create-directory
(lambda (name #!optional parents?)
Trap