chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] drop ##sys#file-info


From: Alan Post
Subject: Re: [Chicken-hackers] [PATCH] drop ##sys#file-info
Date: Tue, 4 Oct 2011 06:19:20 -0600

On Tue, Oct 04, 2011 at 09:12:10AM +0200, Christian Kellermann wrote:
> * felix winkelmann <address@hidden> [111004 08:02]:
> > 
> > Attached a new patch.
> 
> Looks good to me! Alan, if you also agree I will commit this.
> 
> Cheers,
> 
> Christian
> 

I agree, this patch is now fine.  I wanted to walk myself through a
mental error I made checking it:

fifo? returns 0 on ENONENT, whereas file-exists? return #f.  This at
first concerned me, as it was inconsistent.  It was then I realized
that throwing an error on an existence test for the non-existence of
a file clearly doesn't make sense, but asking the question "is this
path a fifo?" could quite justifiably return "this is not a path."

Having cleared that confusion up in my head, please do commit this
patch.

-Alan
-- 
.i ma'a lo bradi cu penmi gi'e du



reply via email to

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