[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #1837: create-directory doesn't raise an error when the requested di
From: |
Chicken Trac |
Subject: |
Re: #1837: create-directory doesn't raise an error when the requested directory already exists |
Date: |
Mon, 24 Jun 2024 14:03:44 -0000 |
#1837: create-directory doesn't raise an error when the requested directory
already exists
-------------------------------------+-------------------------------------
Reporter: Mario | Owner: (none)
Domenech Goulart |
Type: defect | Status: new
Priority: major | Milestone: 6.0.0
Component: core | Version: 5.3.0
libraries |
Resolution: | Keywords: create-directory
Estimated difficulty: easy |
-------------------------------------+-------------------------------------
Description changed by Mario Domenech Goulart:
Old 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
> }}}
New 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
--
--
Ticket URL: <https://bugs.call-cc.org/ticket/1837#comment:1>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.