[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] severe bug in file-exists?

From: Sven Hartrumpf
Subject: Re: [Chicken-users] severe bug in file-exists?
Date: Wed, 28 Sep 2011 16:10:47 +0200 (CEST)

Wed, 28 Sep 2011 15:40:57 +0200, ckeen wrote:

> As I see it, this procedure needs an overhaul anyway. If fstat fails
> it returns #f regardless the reason. On IRC we have been coming
> to the understanding that we should raise an I/O exception for all
> other cases (if the fstat fails for other reasons than the file not
> being there).
> What does R7RS specify there?

Nothing, just this:

(file-exists? filename)
Filename must be a string. The file-exists? procedure
returns #t if the named file exists at the time the procedure
is called, #f otherwise.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]