Opened 8 months ago

Last modified 8 months ago

#1837 assigned defect

create-directory doesn't raise an error when the requested directory already exists — at Version 1

Reported by: Mario Domenech Goulart Owned by:
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 (1)

comment:1 Changed 8 months ago by Mario Domenech Goulart

Description: modified (diff)
Note: See TracTickets for help on using tickets.