Summary
create-directory doesn't raise an error when the requested directory already exists
Metadata
- Id: 4c62df46ec04c24aff86020f1e27ac501bce82c6
- Trac id: 1837
- Type: defect
- Reporter: mario
- Owner: mario
- Cc:
- Status: assigned
- Component: core libraries
- Estimated difficulty: easy
- Resolution:
- Priority: major
- Milestone: 6.0.0
- Version: 5.3.0
- Changetime: 2024-06-25 11:36:51 UTC
- Created: 2024-06-24 15:57:51 UTC
- Keywords: create-directory
Description
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