#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)
by , 16 years ago
| Attachment: | posixunix.scm.patch added |
|---|
comment:1 by , 16 years ago
| 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.