[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #211: add a `file-type' procedure to posix unit
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #211: add a `file-type' procedure to posix unit |
Date: |
Sat, 10 Jul 2010 04:01:03 -0000 |
#211: add a `file-type' procedure to posix unit
-----------------------------+----------------------------------------------
Reporter: felix | Owner:
Type: enhancement | Status: reopened
Priority: critical | Milestone:
Component: core libraries | Version:
Resolution: | Keywords: posix
-----------------------------+----------------------------------------------
Changes (by zbigniew):
* priority: not urgent at all => critical
* status: closed => reopened
* resolution: fixed =>
Comment:
Unfortunately this change broke the assumption that regular-file?, etc.
will return #f if the file does not exist at all. Now, it throws an
error. I think quite a bit of code relies on the old behavior--my own
does and so does the core itself. For example, posix#create-directory no
longer works at all in recursive mode, because it uses directory? to check
for directory existence, and non-existent directories will barf.
--
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/211#comment:3>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.