#63 closed defect (fixed)
create-directory with parents doesn't accept relative paths under Unix
Reported by: | sjamaan | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | core libraries | Version: | 4.1.x |
Keywords: | posix | Cc: | |
Estimated difficulty: |
Description
(create-directory "./foo" #t) => Error: (create-directory) cannot create directory - Permission denied: "/./foo"
The posixwin.scm implementation looks like it should work. The Unix implementation should be changed to match it. See the attached patch.
It'd be good to write a regression test for this, but I'm not sure how to do that cleanly (without leaving too much crap around in the FS).
Attachments (1)
Change History (3)
Changed 15 years ago by
Attachment: | posixunix.scm.patch added |
---|
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Should be fixed in r15734 (by Kon). I haven't tested it myself, yet.