[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #353: file-copy does not what I'd think when used
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #353: file-copy does not what I'd think when used on directories |
Date: |
Tue, 24 Aug 2010 13:55:00 -0000 |
#353: file-copy does not what I'd think when used on directories
-----------------------------+----------------------------------------------
Reporter: syn | Owner: felix
Type: enhancement | Status: closed
Priority: minor | Milestone: 4.7.0
Component: core libraries | Version: 4.5.x
Resolution: fixed | Keywords:
-----------------------------+----------------------------------------------
Comment(by felix):
Replying to [comment:3 sjamaan]:
> Didn't file-move do the right thing when used on directories? It'd be a
shame if that worked before but now throws an error. I don't know how it
works on Windows, but in Unix moving is renaming. Or do we have a separate
procedure for that?
`file-copy` and `file-move` only copy/move files by manually reading
writing blocks of data. Mostly useless.
`rename-file` (library unit) does a proper `rename(2)` system call.
--
Ticket URL: <http://bugs.call-cc.org/ticket/353#comment:4>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.