Opened 4 months ago

Last modified 4 months ago

#1837 assigned defect

create-directory doesn't raise an error when the requested directory already exists

Reported by: Mario Domenech Goulart Owned by: Mario Domenech Goulart
Priority: major Milestone: 6.0.0
Component: core libraries Version: 5.3.0
Keywords: create-directory Cc:
Estimated difficulty: easy

Description (last modified by Mario Domenech Goulart)

Changing that behavior in C5 would cause too much trouble, but we can change that in C6.

$ touch foo
$ csi -e '(begin (import (chicken file)) (create-directory "foo"))'
$ echo $?
0

If the new behavior is implemented, please update https://wiki.call-cc.org/porting-c5-to-c6

Change History (2)

comment:1 Changed 4 months ago by Mario Domenech Goulart

Description: modified (diff)

comment:2 Changed 4 months ago by Mario Domenech Goulart

Owner: set to Mario Domenech Goulart
Status: newassigned
Note: See TracTickets for help on using tickets.